小编Rob*_*olo的帖子

使用css隐藏超链接线

我有这个HTML代码

<a href="test.html">
<div class=" menubox mcolor1">
<h3>go to test page</h3>
</div>
</a>
Run Code Online (Sandbox Code Playgroud)

这就是css

.menubox {
    height: 150px;
    width: 100%;
    font-size: 14px;
    color: #777;
    margin: 0 0 0 0;
    padding: 0; 
    -moz-border-radius: 10px;
    border-radius: 10px; 
    position: relative;}

.mcolor1 { background: #3A89BF url(../images/prod2.png) no-repeat center center; }
Run Code Online (Sandbox Code Playgroud)

鼠标悬停此div,文本显示超链接线,我该如何隐藏它?

css hyperlink hover text-styling

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

css ×1

hover ×1

hyperlink ×1

text-styling ×1