4
I need to put one » »
and a « «
in the attribute :before
of a given, element.
How do I do this in CSS?
ul.breadcumb > li:after{
content: '»'; /** Isso aqui não funciona **/
}
4
I need to put one » »
and a « «
in the attribute :before
of a given, element.
How do I do this in CSS?
ul.breadcumb > li:after{
content: '»'; /** Isso aqui não funciona **/
}
5
You can use hexadecimal code. &xxxx codes are HTML entities and not CSS, you must use alternative code.
ul.breadcumb > li:after{
content: '\00BB'; /** Isso aqui funciona **/
}
<ul class="breadcumb">
<li>teste</li>
<li>teste</li>
<li>teste</li>
<li>teste</li>
<li>teste</li>
</ul>
+1 for /** Isso aqui funciona ***/
5
You can do this using: \00BB
. For example:
ul.breadcumb > li:after{
content: "\00BB";
}
<ul class="breadcumb">
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
<li>item 4</li>
</ul>
If you want the arrow to be pointed at the left, uses: \00AB
Source: Unicode Character 'RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK'
Source: Unicode Character 'LEFT-POINTING DOUBLE ANGLE QUOTATION MARK'
Thanks for the additional information from «
Browser other questions tagged css css3
You are not signed in. Login or sign up in order to post.
I’m sure that with Jquery.
– PauloHDSousa
Related: What does it mean
content:"\f0ed"
?– KaduAmaral