- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 03 Aug 2022 08:58:36 +0000
- To: public-css-archive@w3.org
Yeah, this seems mostly useful for related properties, and typically there will be a shorthand. If not, and you want to avoid repeating the value, you can consider variables:
```css
.new {
--padding: 1rem;
padding-left: var(--padding);
padding-right: var(--padding);
}
```
If later you want to change to `2rem`, you only have to update one place.
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7562#issuecomment-1203676304 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 3 August 2022 08:58:38 UTC