@jonahunuafe
Posted
When working with div, set the width using max-width in percentage, neglecting the height property since its height will be determine by the content inside the div.
Learn and practice how to use CSS Flexbox and CSS Grid for your layouts.
Always design and develop for mobile first before moving on to desktop design, for desktop design you can use a media query of max-width: 768px.
I hope this suggestions of mine help!.
Marked as helpful