Snippets tagged “content-property”
3 snippets use this tag.
- How to Add HTML Entities with the CSS content PropertyCSS
HTML provides entity name or entity number to use reserved characters. Learn how you can add HTML entities to your code with the CSS content property.
- How to Create a List With Dashes in HTMLHTML
In this tutorial, find out how it is possible to style a list with dashes instead of bullet points. Use the :before pseudo-element with the content property.
- How to Rotate the Content of the ::after or ::before Pseudo-ElementCSS
The content property is used with the ::after and ::before pseudo-elements. In this snippet, we’ll demonstrate how to rotate the content of these pseudo-elements.