Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
December 7, 2020 09:34 pm GMT

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:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks