@Hassiai
Posted
There is no need to give .principal a width and a max-width rather give it a reduced max-width value for a responsive content. max-width:400px which is 25rem/em
.
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 and here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@GrdevPro
Posted
@Hassiai Thank you for those tips! I will try to do it for the next project :)