我想在我的网站上放置一个紫色背景的按钮,但它周围有灰色标记,我该如何获取?
<button style="background-color: rgb(100, 62, 101)">Meet our games</button>
答案 0 :(得分:1)
添加边框:无
button{
border:none;
font-size:24px;
color:white;
}
<button style="background-color: rgb(100, 62, 101)">Meet our games</button>
答案 1 :(得分:0)
您可以尝试以下操作:
<button style="background-color: rgb(100, 62, 101);border:none;">Meet our games</button>
希望能帮到你