Content
@
0 reply
0 recast
0 reaction
Darryl Yeo đ ïž
@darrylyeo
In hindsight it was inevitable. Type-safe functional programming is coming to CSS. This means cascading property definitions will no longer just be bound by plain rules, cascade `@layer`s and `@media` queries, but any arbitrary composable hierarchical structure you wish. https://www.bram.us/2025/02/09/css-custom-functions-teaser/
3 replies
1 recast
5 reactions
Darryl Yeo đ ïž
@darrylyeo
https://drafts.csswg.org/css-mixins-1/
0 reply
0 recast
2 reactions
matthias
@iammatthias
https://warpcast.com/iammatthias/0xa64b538f
1 reply
1 recast
0 reaction
nkemjika.eth
@nkemjika
tbh, this feels like a natural evolution, but do you think this lead to something like 'pure CSS functions' where the output only depends on the inputs, regardless of cascade context?. Because all I can think about is how it affects the cascading nature of css
1 reply
0 recast
1 reaction