Layout & Design
Joseph
·
7:06
·
68K views
·
About this lesson
Creating layouts that look and behave the way we want them to largely comes down to choosing the right sizing mode for each element.
As you know, we have several to choose from — and each has a unique purpose, depending on how static or flexible we want things to be.
Earlier in this chapter, we unpacked “Fill” and “Fit Content” sizing — but there’s also a time and place to use “Fixed”, “Relative”, and “Viewport” sizing.
Whether we want our elements to remain at a specific size, scale with our layout, or even respond to a viewer’s screen size, we’ve got options to get the job done.
So let’s dive a bit deeper into how these next three sizing methods work and when to use each one.
https://www.youtube.com/watch?v=REhpndQmOM8&t=0s Intro
https://www.youtube.com/watch?v=REhpndQmOM8&t=6s Fixed sizing explained
https://www.youtube.com/watch?v=REhpndQmOM8&t=24s Locking aspect ratios with fixed sizing
https://www.youtube.com/watch?v=REhpndQmOM8&t=59s When to use fixed sizing
https://www.youtube.com/watch?v=REhpndQmOM8&t=36s Relative sizing explained
https://www.youtube.com/watch?v=REhpndQmOM8&t=208s Example of relative sizing
https://www.youtube.com/watch?v=REhpndQmOM8&t=262s Viewport sizing explained
https://www.youtube.com/watch?v=REhpndQmOM8&t=295s Setting full screen hero sections
https://www.youtube.com/watch?v=REhpndQmOM8&t=326s Recap of sizing and positioning modes
https://www.youtube.com/watch?v=REhpndQmOM8&t=400s Wrap up
🌞 Start for free: https://framer.link/yt
📚 Learn more at: https://framer.link/yt-academy
💎 Join the Community: https://framer.link/yt-community
🎉 Follow on X: https://framer.link/yt-x