Re: [csswg-drafts] padding-x, padding-y, margin-x & margin-y (#3486)

@simonc CSS is moving to flow relative properties in general - you will notice that grid and flexbox don't refer to x and y, instead to block and inline, start and end.

Browsers are implementing these shorthands, which will do exactly what you want:

- https://developer.mozilla.org/en-US/docs/Web/CSS/margin-inline
- https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block
- https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline
- https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block

Have a look at the browser support table at the bottom of the pages for support info.

-- 
GitHub Notification of comment by rachelandrew
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3486#issuecomment-544193575 using your GitHub account

Received on Saturday, 19 October 2019 20:11:33 UTC