我无法摆脱下划线

时间:2017-02-25 07:07:53

标签: html css

我对html很新,所以我试图制作按钮,但我似乎无法摆脱链接中的下划线。这是我的代码:

timeout 10s stdbuf -oL ./program >> out.txt
# Or: gtimeout 10s gstdbuf -oL ./program >> out.txt

2 个答案:

答案 0 :(得分:2)

在你的css代码中,它缺少一个分号。

a{
....
bottom: 600px; //this line
text-decoration: none;
....
padding: 50px; //this line also
}

希望它能奏效。

答案 1 :(得分:0)

正如其他人已经说过的那样,你错过了底部和分号的分号。填充样式标签;但是,一旦校正这些图像就无法正常显示。

您可能只想完全删除bottom: 600px,因为它似乎过多/不必要。

body{
background-color: black;
}
a{
border: 5px solid white ;
border-radius: 20px;
font-size: 50px;
position: absolute;
//bottom: 600px;
text-decoration: none;
color: white;
transition: 0.3s ease-in-out;
background-color: black;
padding: 50px;
}
a:hover {
color: white;
transition: 0.3s;
text-decoration: none;
font-size: 53px;
}
<title>BUTTON TESTING</title>
<a href=https://www.youtube.com >F.A.Q.</a>

相关问题