Blog posts from 2016
-
Enquire Within Upon @media
When dealing with advanced layout features, it makes sense to place all of your CSS inside of a feature query, including media queries for the advanced layout. However, Chrome (currently) drops the ball on that last part.
TL;DR: You currently can’t quite nest media queries inside feature queries in Chrome, but the other way around is fine. This bug has since been fixed, and should go away in upcoming versions of Chrome.
-
Revisiting the Float Label pattern with CSS
The float label pattern is a slick pattern that designers seem to love. I’m not sure that I’m 100% in love with it, but I couldn't resist cooking up a quick demo implementation. This version uses a few nice form-styling tricks using modern CSS that I've seen recently, particularly the
::placeholder-shown
selector.Read the whole post "Revisiting the Float Label pattern with CSS"