Layout & Design
Joseph
·
8:26
·
34K views
·
About this lesson
When we use flexible sizing modes like fill or relative, we run the risk of things being stretched or squashed to such a degree that things get a bit… well… ugly.
This is where Min and Max values come in — allowing us to enforce some limits to how big or small things can get — to keep things fluid… but contained.
Let’s spend some time getting more familiar with the mechanics of min and max and look at some examples of when it saves the day.
https://www.youtube.com/watch?v=NJKKqYbYeVE&t=0s Intro
https://www.youtube.com/watch?v=NJKKqYbYeVE&t=11s Why min and max values matter
https://www.youtube.com/watch?v=NJKKqYbYeVE&t=30s Understanding min and max sizing
https://www.youtube.com/watch?v=NJKKqYbYeVE&t=96s Example: min width for responsive cards
https://www.youtube.com/watch?v=NJKKqYbYeVE&t=189s Using max width to prevent overly wide layouts
https://www.youtube.com/watch?v=NJKKqYbYeVE&t=291s Min height for viewport-sized sections
https://www.youtube.com/watch?v=NJKKqYbYeVE&t=386s Max height for text boxes
https://www.youtube.com/watch?v=NJKKqYbYeVE&t=478s 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