January 10, 2019 03:06 pm GMT
Original Link: https://www.youtube.com/watch?v=qOUtkN6M52M
Algorithmic Layouts
Don't miss this video by Heydon that digs into CSS layouts. It's great how he combines fundamental knowledge, like the way elements flow, wrap, and can have margin with new layout methods like flexbox and grid (with specific examples). Of particular note is the clear demonstration of how flexbox and grid help avoid the need to constantly intervene with media queries in order to affect responsive layouts.
So, in place of this...
.sidebar { float: left; width: 20rem;}.not-sidebar
The post Algorithmic Layouts appeared first on CSS-Tricks.
Original Link: https://www.youtube.com/watch?v=qOUtkN6M52M
Share this article:
Tweet
View Full Article