Snippets tagged “content”
3 snippets use this tag.
- How to Break Line Without Using <br> Tag in CSSCSS
There are a few ways to break a line without using a <br> tag. For that, we can use the white-space and display properties, as well as pseudo-elements.
- How to Set the Equivalent of "src" Attribute of an <img> Tag in CSSCSS
In this snippet, you can find the solution of setting the equivalent of “src” attribute of an <img> tag. For that, use the content or background-image properties.
- How to Use Font Awesome Icon as Content in CSSCSS
Today, icon fonts are quite common, and more and more developers are taking advantage of them in their designs. See how you can add them as a content.