An Interest In:
Web News this Week
- April 29, 2024
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
April 7, 2020 02:51 pm GMT
Original Link: https://ishadeed.com/article/new-facebook-css/
CSS Findings From The New Facebook Design
Ahmad Shadeed digs around the new Facebook’s front-end code.
One that stood out to me:
.element { inset: 4px 0; /* Which is equivalent to: top: 4px, bottom: 4px, left: 0, right: 0 */}
Whaaat? This is the first I’ve heard of the inset
property. Ahmad said he saw it working in Chrome 80, but it definitely isn’t for me (nor Safari). It does in Firefox though.
Chrome 80 and Firefox 75
It’s shorthand for top
/right
/… Read article “CSS Findings From The New Facebook Design”
The post CSS Findings From The New Facebook Design appeared first on CSS-Tricks.
Original Link: https://ishadeed.com/article/new-facebook-css/
Share this article:
Tweet
View Full Article