Show newer

Re @tapasadhikary started with an app to help his daughter learn math, and ended up with a CSS shape generator!
css-tricks.com/the-story-behin

Stefan Judis notes that there is a spec for custom media queries, but seemingly no momentum on it at the moment.
css-tricks.com/can-we-have-cus

Turns out SMIL has a JavaScript API, so it's possible to kick off an animation on demand while also respecting `prefers-reduced-motion`.
css-tricks.com/fire-svg-animat

Even though we've got a pretty good solution cooking now (for WordPress), the templates aren't controlled with HTML/CSS like I wish they were.
css-tricks.com/if-i-work-reall

My own ah-ha moment was when I realized every page element is a box that can be sized, positioned, etc.
css-tricks.com/what-i-wish-i-k

RT Una Kravets 👩🏻‍💻
Responsive card > Responsive button > Responsive icon
Container queries are the future y'all.
SO dope to work with.
Demo requires Canary + Container Queries flag
Uses:
- Newer `container: inline-size` syntax
- Named containers to query diff parents
codepen.io/una/pen/NWgxXGV

RT Nicole Sullivan
Draft spec of CSS Scoping is out. Feedback please!
@Rich_Harris you were also interested in CSS Scoping. Mind taking a look? It’s based partially on @vuejs. We’d also love to hear what @youyuxi and @sarah_edo think too. cc very welcome!
Miriam (The Good Kind): @dfabu @stubbornella Yep, I posted a draft spec last week:
drafts.csswg.org/css-scoping-2

All-things-typography, from a hard-edged monospaced variable font to fonts in the "Twilight Zone" ... and much much more.
css-tricks.com/some-typography

"An enabling selector is what I call a selector that does a job without disabling the particular rule."
css-tricks.com/you-want-enabli

Can't get enough blobs? @ChallengesCss adds gooey animation effects using the CSS Paint API.
css-tricks.com/exploring-the-c

Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。