#109·sass

Shorthand for declaring multiple CSS properties like CoffeeScript variables

Author: chriseppsteinCreated Jun 9, 2011Updated Mar 20, 2026
Labelsenhancementhelp wanted

I have become fond of CoffeeScript's ability to declare variables that have the same value in this manner:

someVariable: anotherVariable: "someValue"

I would like the ability to declare CSS properties in SASS/SCSS like this:

width: height: 10px;

and then the output would be:

width: 10px;
height: 10px;

Originally filed by @deleteme