0
我有與以下代碼類似的css代碼。 (我應付http://jsfiddle.net/LmvgM/8/謝謝@thirtydot)。當鏈接關注時,我發現:在內容被包含之前。不包括:鏈接上的內容前焦點
那麼我怎樣才能從高亮框中刪除它,讓框只有文本,沒有'>'。
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;
}
你不清楚你想要什麼。如果我明白了。你只是想刪除該位置:絕對; –
你能解釋一下你的目標嗎 –
這個箱子只包括文字,沒有「>」@KeesSonnema – Jair