3 ms·
Nice. A good reminder that you don't always need dozens of nested divs to get some effect in HTML. Not that anyone should start rendering flags as single-div ta
by Freak_NL 11y ago
Nice. A good reminder that you don't always need dozens of nested divs to get some effect in HTML. Not that anyone should start rendering flags as single-div tags in their production code (just use SVG!), but it helps to illustrate the possibilities of CSS, and the ::before and ::after pseudo elements.
I find that we developers are so used to pandering to the lowest common denominator of supported browsers (a holdover from the IE6 days I suppose?), that we forget that there is a lot of really cool CSS we can use in all sensible modern browsers today.
- manrajsingh 11y agoThank you! My aim was to explore CSS features I didn't know were possible. Supporting different browsers was not aim of the project.