Tagged articles
1 articles
Page 1 of 1
UC Tech Team
UC Tech Team
Oct 15, 2018 · Frontend Development

Understanding the CSS content Property and Its Limitations with ::before and ::after

This article explains how the CSS content property works with ::before and ::after pseudo‑elements, demonstrates which values are accepted or rejected—including numeric and calc() values—shows how to use counters and images, and highlights common pitfalls such as treating numbers as strings.

CSSPseudo-elementsWeb Development
0 likes · 3 min read
Understanding the CSS content Property and Its Limitations with ::before and ::after