Journal
Tagged: frontend
Reducing motion with the picture element
Brad Frost shares a clever use of the picture element in combination with a prefers-reduced-motion media query to make animated GIFs more accessible.
The Simplest Ways to Handle HTML Includes | CSS-Tricks
Chris Coyier explores several ways to do HTML includes. I particularly like Scott Jehl’s approach involving self-removing iframes.
You probably don’t need input type=“number”
Brad Frost on wether an input type="number" is always a good idea. (Hint: it's not)
FLEX: A simple visual cheatsheet for flexbox
And another really nice visual cheatsheet for CSS flexbox properties.
GRID: A simple visual cheatsheet for CSS Grid Layout
A really nice cheatsheet for CSS grid properties.