Use CSS grid to animate an element's height from 0
to auto
.
Topic: CSS โ Page 4
Nested HTML elements with different
visibility
properties (visible
/hidden
) can be visible even though their parent is hidden.The CSS clip-path polygon function accepts values outside the 100% range which is handy to create custom corners.
An accessible example implemenation of a custom element that works without JavaScript.
A CSS snippet to center main content but still allow components to render full-width with CSS Grid areas.