0
selectors with colons
what does :after or before mean
3 Respostas
+ 1
Before colon is used when you are referencing selectors in css like
.body:hover{
}
And after colon is used while referencing property like this
.body{
color:red;
}
0
before mean
0
there are pseudoclass than append some content after or before the target selector ej:
at css
p:before {
content : ">>";
}
at html
<p> Some text</p>
at browser
>>Some text