[csswg-drafts] Shorthand: Writing multiple properties in one line with the same value (#6353)

amir2mi has just created a new issue for https://github.com/w3c/csswg-drafts:

== Shorthand: Writing multiple properties in one line with the same value ==
Though CSS is cascading, properties come after each other and it is the most common expected situation:
### Original:
```css
.box {
     width : 50px ;
     height : 50px ;
     padding : 50px ;
     margin : 50px ;
}
```
But what could happen if it was possible to make it more simple like this:
### Shorthand:
```css
.box {
     `width height padding margin` : 50px ;
}
```

That idea can change and make things simpler and the result will be smaller file size and more readability for CSS codes, Im curious if it will be possible natively without any preprocessor?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6353 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 6 June 2021 12:34:11 UTC