我正在创建一个网站,并且正在尝试使按钮中心对齐,无边框,但是,css代码似乎对网站没有影响
我尝试更改类名,更改代码等。在浏览器(谷歌浏览器)上,它显示该代码在样式上“可识别”但未被读取
.qwerty {
background:#f4511e;
border: none;
color: white;
padding: 16px 32px;
text-align: center;
font-size: 16px;
margin: 4px 2px;
opacity: 0.6;
transition: 0.3s;
display: inline-block;
text-decoration: none;
cursor: pointer;
}
.button:hover {opacity: 1}
<div class="column" class="Border">
<form action="aboutme.html">
<button class="qwerty">ABOUT ME</button>
</form>
</div>
该按钮应该没有边框,橙色,并且在悬停时会增加不透明度