Using text symbols in pseudo-elements accessibly
Generated content (the ::before and ::after pseudo-elements) is quite handy for styling elements without disrupting markup. We can use it for creating things like custom checkboxes without any extra elements.
https://codepen.io/MrRoboto/pen/OJxaGyb
...
·3 min read·blog.mayank.coUpdated Read the article
Neil Osman
Great read! Okay, but I am not sure why is text is nice? Actually, both SVG options are scalable texts, right?