Let’s Get Puzzled!
We can make puzzle pieces in CSS thanks to the amazing clip-path: shape(). Here, Amit takes it further by making a whole grid of them with matched edges and content inside.
We can make puzzle pieces in CSS thanks to the amazing clip-path: shape(). Here, Amit takes it further by making a whole grid of them with matched edges and content inside.
Even if you nest details elements, you can ensure only one level of them is open at a time, making a menu you can drill down (and up!) from.
Drawing an line with arrows pointing to the center of two arbitrary elements measuring and displaying the distance between them doesn’t seem like it would be possible in CSS alone… but…
Josh Tumath: Have you ever noticed that when you increase the system text size in your iOS or Android phone’s accessibility settings, the text gets bigger everywhere except on the web? On Safari and Chrome, it makes absolutely no difference. New thing: <meta name=text-scale> This isn’t page zoom, which scales everything, it’s just respects the […]
An image gallery is a nice example of AIM, where the larger version of an image can “morph” out from the smaller one when opened, and back in when closed.
Flexbox has a very specific algorithm for determining how to deal with remaining (or lack of) space in a row. Let’s use actual math to understand it then apply it to a masonry layout.
It’s a strange situation where some CSS is disallowed, some is allowed but breaks the button, and some is capped.
As it stands, you have to think about the layout engine and whether an element is “fully laid out” before an anchor is allowed to apply to it. Boooooo.
We can take a value set in an HTML attribute and use it in CSS, even extracting each individual digit in order to animate separately.
A list of items with thumbnails that flip into place as needed. Can we ditch the JavaScript?
Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.