CSS-Tricks

@csstricks
1.7K Followers
60 Following
409 Posts
The official account for CSS-Tricks.com, a web design community powered by
DigitalOcean.
Websitehttps://css-tricks.com
Twitterhttps://twitter.com/css
Everything* { box-sizing: border-box; }

So, corner-shape can be animated. Notice the added sprinkle of color-contrast().

https://css-tricks.com/experimenting-with-scroll-driven-corner-shape-animations/

Just one example to illustrate the point... the article has several other ideas.
The progress() function is sorta like clamp() but returns 1 or 0. Combine it with calc() and you can get weird with it.
Poppin' In | CSS-Tricks

Oh, hey there! It’s been a hot minute, hasn’t it? Thought I’d pop in and say hello while we get to know the Popover API a bit.

CSS-Tricks
HTML Data Attributes Guide | CSS-Tricks

Everything you ever wanted to know about data attributes in HTML, CSS, and JavaScript.

CSS-Tricks
CSS Container Queries | CSS-Tricks

The main idea of CSS Container Queries is to register an element as a “container” and apply styles to other elements when the container element meets certain conditions.

CSS-Tricks
Using <details> for Menus and Dialogs is an Interesting Idea | CSS-Tricks

Using <details> for a menu may be an interesting idea, but perhaps not something to actually ship in production. See "More Details on <details>"

CSS-Tricks
CSS Length Units | CSS-Tricks

A comprehensive guide covering nine types of lengths that CSS uses to size elements in terms of dimensions, space, time, and even sound.

CSS-Tricks
A Complete Guide to CSS Cascade Layers https://css-tricks.com/css-cascade-layers/
Cascade Layers Guide | CSS-Tricks

This is your complete guide to CSS cascade layers, a CSS feature that allows us to define explicit contained layers of specificity.

CSS-Tricks