How about a new CSS property called "property"?
Like a :where() shorthand, except for properties.
How about a #CSS property called "property" that you could use like this:
.class {
property(font-size, top, left, margin-bottom): 1rem;
}instead of:
.class {
font-size: 1rem;
top: 1rem;
left: 1rem;
margin-bottom: 1rem;
}Like :where() except for properties.
Join the "Something nice ..." newsletter
The full title is "Something nice, something quirky, something else".
I send an email once a week with something nice, something quirky, and something else that I think is interesting (all with a web development theme, of course).