2
I was taking a look at a class from a Wordpress template and saw that it created an image of a facebook logo using CSS content with a string of characters.
The section that generates the image is as follows:
.cmsms-icon-facebook-circled-1:before { content: '\ee2e'; }
I couldn’t find anything on Google to explain how this is done, because the F12 I can’t find the image.
The template link is:
http://eco-nature.cmsmasters.net/onepage
These are the social media icons from the footer.
I was curious to know what this is about, because I saw that the content is possible to include an image using the "content: url()"
I edited, because the snippets are obviously to play the problems with CSS/html/js and not to show code, to only show code use Ctrl+K or click on the icon
{}
– Guilherme Nascimento
Thanks William, is that sometimes I use the stackoverflow in English and have different things. Thanks.
– Marco