what does "{content : ' '}" mean in css pseudo class ?
i'm still wondering everyday, what does that mean ?
Anybody can help me please
what does "{content : ' '}" mean in css pseudo class ?
i'm still wondering everyday, what does that mean ?
Anybody can help me please
In css, you use content to just set the content (or inner html)
This is a clear example from mozilla doc
HTML
<a href="http://www.mozilla.org/en-US/">Mozilla Home Page</a>
CSS
a::before {
content: url("https://mozorg.cdn.mozilla.net/media/img/favicon.ico") " MOZILLA: ";
font: x-small Arial, sans-serif;
color: gray;
}