7 View Transitions Recipes to Try
Craving for a view transition? Sunkanmi has lots of common transitions you can drop into your website right now!
Continue reading "7 View Transitions Recipes to Try" at CSS-Tricks
You probably want CSS-Tricks
Craving for a view transition? Sunkanmi has lots of common transitions you can drop into your website right now!
Continue reading "7 View Transitions Recipes to Try" at CSS-Tricks
Chrome 147 becomes the first to implement the CSSPseudoElement JavaScript interface, and allow the startViewTransition() method to be called on […]
Chrome 147 becomes the first to ship border-shape as well as the scroll range for view timelines.
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.
Continue reading "Selecting a Date Range in CSS" at CSS-Tricks
Chrome 147 ships contrast-color() (the Color Level 5 version that only resolves to black or white), making it baseline.
Cascade layers, specificity tricks, smarter ordering, and even some clever selector hacks can often replace !important with something cleaner, more predictable, and far less embarrassing to explain to your future self.
Continue reading "Alternatives to the !important Keyword" at CSS-Tricks
Quiz: CSS or BS?
Chrome 145 introduces the column-height and column-wrap properties, enabling us to wrap the additional content into a new row below, creating a vertical scroll instead of a horizontal scroll.
Continue reading "Looking at New CSS Multi-Column Layout Wrapping Features" at CSS-Tricks
font-size-adjust calculator.
Creating rectangles, circles, and rounded rectangles is the basic of CSS. Creating more complex CSS shapes such as triangles, hexagons, stars, hearts, etc. is more challenging but still a simple task if we rely on modern features.
Continue reading "Making Complex CSS Shapes Using shape()" at CSS-Tricks
These are the historical pranks I consider the top 10 most noteworthy, rather than the “best.” You’ll see that some of them crossed the line and/or backfired.
Continue reading "Front-End Fools: Top 10 April Fools’ UI Pranks of All Time" at CSS-Tricks
Safari TP 240 becomes the first to ship the revert-rule CSS keyword, which rolls the rule back to when it […]