Expositus

Category: css

Pseudo-Element Kung-Fu

I recently found that the content property can contain cooler stuff than just strings. For instance, you can show the href of a link in a cool popup with absolutely no JS: content: attr(href); See the Pen Pure CSS link hover popup by flyingfisch (@flyingfisch) on CodePen. This allows us...