CSS在section类的主页上不起作用



尝试添加css到我的网站,然而,当我创建了一个新的节类,并试图添加css到它,它不会对齐到中心或编辑我尝试的文本。它适用于家庭中的其他部分类。Aspx,但不是这个

.machinesetup {
width: 80%;
margin: auto;
text-align: center;
padding-top: 100px;
}
h1 {
font-size: 36px;
font-weight: 600;
}
p {
color: #777;
font-size: 14px;
font-weight: 300;
line-height: 22px;
padding: 10px;
}
<section class="machinesetup">
<h1>Employees </h1>
<p>Hear What Our Recent Graduates Have To Say</p>
<div class="row">
<div class="course-col">
<h3>James - Application Developer Analyst</h3>
<p>"I'm a big fan of efficiency and engaging work, so it's been really satisfying to contribute to making processes better."</p>
</div>
<div class="course-col">
<h3>Alisha - UX Designer</h3>
<p>"It feels good to know our work directly promotes our business goals of consumer centricity and it enables leadership to take action to promote our shared purpose - helping our customers through life's uncertainties."</p>
</div>
<div class="course-col">
<h3>PJ - Developer</h3>
<p>"My favourite thing about my job is my team. Since the beginning, everyone has been very supportive of me and are always welcoming if I had any issues or questions."</p>
</div>
</div>
</section>

如果你使用的是Visual Studio,你必须在你的css文件中设置属性" copy always to output "

最新更新