- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Mon, 01 Dec 2014 18:10:49 +0300
- To: www-style@w3.org
Hello. What if we add the `size` CSS-property as a shorthand for `width`/`height` pair? For example: šššš.foo {size: 10px; } would set both `width` and `height` properties to `10px`. And: šššš.bar {size: 2em 3em; } would set `width` to `2em` and `height` to `3em`. This can be (and is) implemented via a preprocessor, but preprocessors exist just to overcome current CSS shortcomings, while it makes sense to overcome them on CSS-itself level to make CSS itself more usable and self-contained in the long term. Thanks.
Received on Monday, 1 December 2014 15:11:51 UTC