我一直在寻找和寻找,我似乎无法改变这件非常烦人的事情!!!!所以请你们温柔的天使,帮助我从我的链接中删除下划线,但具体的链接。严重混乱的,谢谢。
一些代码:
<div id = "cracker-container">
<div class = "cracker-wrapper">
<div id = "cracker1-button">
<%= link_to "cracker", new_crack_path %>
</div>
</div>
<div class = "cracker-wrapper">
<div id = "cracker2-button">
Cracker2
</div>
</div>
<div class = "cracker-wrapper">
<div id = "cracker3-button">
Cracker3
</div>
</div>
</div>
THE CSS:
#cracker1{
color: #000;
}
#cracker2{
color: #000;
}
#cracker3{
color: #000;
}
#cracker1:active{
color: #fff;
}
#cracker2:active{
color: #fff;
}
#cracker3:active{
color: #fff;
}