December 7, 2020 09:34 pm GMT
Original Link: https://css-tricks.com/late-to-logical/
Late to Logical
2020 brought another wave of logical property features to major browsers and Ive thoroughly enjoyed my investment into logical, rather than physical, web styling. I feel like Ive learned a new way to speak about the box model that results in less written code with more global coverage.
p { /* 🚫 */ text-align: left; /* 👍 */ text-align: start; /* 🚫 */ margin-top: 1rem; /* 👍 */ margin-block-start: 1rem;}
Like I described in the web.dev article I linked … Read article “Late to Logical”
The post Late to Logical appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
Original Link: https://css-tricks.com/late-to-logical/
Share this article:
Tweet
View Full Article