Tag: pseudo-element

Using CSS3 Pseudo Elements and Box Shadows Instead of Images for HiDPI Geometric Shapes

HiDPI in Web design is kind of a double-edged sword for a front end developer. We now have two nearly separate environments (in some cases) that need attention. That sometimes results in double the style rules, double the image assets, and feature detection. Addition of anything is often the opposite of what we try to do, so it’s important to be as smart as possible when approaching management of HiDPI assets and styles in our projects.

Posted: January 14, 2013