Hi! Use max-width. It do your site flexible. Try it and you see when all change
1
Dagger• 100
@hopilizkid
Posted
explain more... maxwidth on every element inside the div? @marynaKolikova
0
.preparation { padding: 24px; max-width: 656px; - it is make this block flexible ! background: #FFF7FB; border-radius: 12px; margin-bottom: 32px; }
@hopilizkid
Posted
thanks @marynaKolikova
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord