design-code.tips

22 | Replacing Text with CSS


Listen Later

In this episode, we explore a CSS-only technique for replacing button text—a clever trick using "visibility: hidden" and the ":before" pseudo-element. But is it the best approach? We discuss its accessibility drawbacks and suggest alternatives for a more inclusive design. Tune in to learn when and how to use this method responsibly!

--

Read the full blog post: Replace Text with CSS Only

...more
View all episodesView all episodes
Download on the App Store

design-code.tipsBy ositaka