hao pham• 745
@jerry-the-kid
Posted
You did very good this time. Here are my advices :
- At body you can set
background-size : cover
.
- At
.container
you can setmax-width: 1200px, width : 95%, margin : 3rem 0;
that will be ok than :margin: 2rem 3rem 0 3rem
. you can custom again my width, max-width if you like.
- At .article img you should set should smaller like :
60%
and setobject-fit: contain
so img will be smaller follow the sceen width.
- You should smaller font-size when smaller screen. My advice is learn about rem unit or clamp in css.
https://www.sitepoint.com/understanding-and-using-rem-units-in-css
Clamp : https://youtu.be/U9VF-4euyRo?t=4
That's good to go. Happy codding 😁
1