Hassia Issah• 50,670
@Hassiai
Posted
For the left and right sides space of the page, give the main a max-width of 1440px, width: 80% and margin: 0 auto .
main{
max-width: 1440px;
width: 80%
margin: 0 auto;
}
In the mobile design you can change the value of the width.
Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
0