An Over-The-Top Spoiler Design with the Details Element
You can style anything you want on the entire page when any given details element is open or closed.
You can style anything you want on the entire page when any given details element is open or closed.
Crop marks are an idea that comes from the print design world. Design in the bleed area will be cut away by giant cutter machines, and that bleed area is designated by the crop marks. We can do it on the web too, just for kicks.
Mousing over an element and watching it tilt in 3D space is a beautiful and compelling effect. Let’s bring it to mobile and use the phone itself rather than a cursor.
A context menu is like a tooltip in that it opens right next to the the thing that opened it. Here, we animate the opening and ensure it opens somewhere where it doesn’t get cut off.
There is a way to declare a scope on a specific selector, a specific selector *down to* another selector, or with no selector at all (which scopes to its parent in the DOM).
The `!important` part doesn’t become part of the value, the whole declaration is treated as !important;
Fixed and sticky positioning behave very differently, but we can switch between the two at exact points for some unusual looking effects.
There are no browser implementations of mixins yet, nor a fleshed out spec. So perhaps now is the best time to try to understand and opine.
Banger page from the Chrome DevRel team showcasing the incredible year CSS had.
What if you could make a card like a 3D portal, with layers of depth? You probably should just click to see, it’s a very compelling look.
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.