Hero Section help

first time making a hero section, i am using flexbox. do i give it a set height or no? if so what is the best practice. im trying to make my hero look like his, its pretty big but doesnt go all the way down
No description
5 Replies
b1mind
b1mind•9mo ago
Typically try to always let your content determine height. Don't set strict heights or if you do* maybe some min/max (smaller elements you might be or using width/height/aspect). Layout though its good to let it "grow" with your content. As always don't live in absolutes though (best practices). also you can always inspect that site and see how they did it 😄
TrickShottasUnited
TrickShottasUnited•9mo ago
okay thanks yea i dont really like setting strict values
b1mind
b1mind•9mo ago
yea just # depends
Matt
Matt•9mo ago
Margins / Padding ?
ceispy
ceispy•9mo ago
If you wanna fix heights use clamp()