3 ms·
Is it wrong of me to not like using the css content property? I feel like actual content shouldn't be in css.
by wnevets 10y ago
Is it wrong of me to not like using the css content property? I feel like actual content shouldn't be in css.
- napworth 10y agoIt depends on context. If it's stylistic content, then I say it's reasonable. If it's the main body of your blog post, then maybe just wrap it in a <p> tag.
- talmand 10y agoI agree, it should be strictly limited to non-important styling needs. Recently someone had to go through our code base removing text from content properties in our CSS to make way for a future translation effort.