不包括:在关注链接上的内容之前

时间:2013-06-19 10:17:35

标签: css css3

我有与以下代码类似的css代码。 (我应对http://jsfiddle.net/LmvgM/8/感谢@thirtydot)。当链接聚焦时,我发现:在包含内容之前。

那么如何从高亮框中删除它,让框只有文字,没有'>'。

enter image description here

box.blueb a { 
    color: #0098aa; 
    position: relative;
    margin-left: 5px;
    padding-left: 10px;
    text-decoration: none;
}
.box.blueb a:before { 
    content: "> "; 
    position: absolute;
    top: 0;
    left: 0;
}

.box.blueb a:hover {
    text-decoration: underline;
}

1 个答案:

答案 0 :(得分:0)

您的意思是要删除蓝色焦点框吗?

:focus {
    outline-color: transparent;
    outline-style: none;
}
相关问题