Video: OpaqueRange API.
Markdown + Astro = ❤️
Although Astro has built-in support for Markdown via .md files, I’d argue that your Markdown experience can be enhanced with MDX.
Although Astro has built-in support for Markdown via .md files, I’d argue that your Markdown experience can be enhanced with MDX.
Powered by
DigitalOcean
This issue of What’s !important brings you clip-path jigsaws, a view transitions toolkit, name-only containers, the usual roundup of new, notable web platform features, and more.
Behind every technology, there should be a guide for its use. While JavaScript modules make it easier to write “big” programs, if there are no principles or systems for using them, things could easily become difficult to maintain.
One of the best-known examples of CSS state management is the checkbox hack. What if we want a component to be in one of three, four, or seven modes? That is where the Radio State Machine comes in.
Craving for a view transition? Sunkanmi has lots of common transitions you can drop into your website right now!
A clever approach for selecting multiple dates on a calendar where the :nth-child()‘s “n of selector” syntax does all the heavy lifting… even in the JavaScript.
Video: OpaqueRange API.
#
Chrome 147 becomes the first to implement the CSSPseudoElement JavaScript interface, and allow the startViewTransition() method to be called on specific elements.
#
Chrome 147 becomes the first to ship border-shape as well as the scroll range for view timelines.
#
Chrome 147 ships contrast-color() (the Color Level 5 version that only resolves to black or white), making it baseline.
#
.element { animation-timeline: view(); }
.element { view-timeline-axis: x; /* horizontal axis */ }
.element { view-timeline-inset: 200px 20%; }
.element { animation-timeline: scroll(); }
.scroll-container { scroll-timeline-axis: x; }
.element { scroll-timeline-name: --scroller; }
.common-ancestor { timeline-scope: --my-timeline; }
.element { animation-range: cover; }