How about a new CSS property called "property"?

The Confident Logo, Drupal Agency led by Mark Conroy

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.

Course: Build a LocalGov Drupal Website

Subscribe to get updates about the course (and perhaps a discount code before it is launched).