This content originally appeared on CSS-Tricks and was authored by Chris Coyier
David Bushell in ”Changing CSS for Good“:
I’m dropping “
left
“ and “right
“ from my lexicon. The new CSS normal is all about Logical Properties and Values […] It can be as easy as replacing left/right with inline start/end. Top/bottom with block start/end. Normal inline flow, Flexbox, and Grid layouts reverse themselves automatically.
I figured it made sense as a “You want…” style post. Geoff has been documenting these properties nicely in the Almanac.
The post You want margin-inline-start appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
This content originally appeared on CSS-Tricks and was authored by Chris Coyier
Chris Coyier | Sciencx (2021-03-30T14:24:19+00:00) You want margin-inline-start. Retrieved from https://www.scien.cx/2021/03/30/you-want-margin-inline-start/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.