Darkstar• 1,000
@DarkstarXDD
Posted
- Don't limit the container height. Let the browser decide the containers height based on the elements inside it. Setting a fixed height prevents the container from scaling as needed, causing content to overflow.
- Use
max-width
instead ofwidth
. That way the width is limited, but it can go narrower when it needs to like on smaller screens. Better if you set themax-width
inrem
. - The location is not a heading. It's a
<p>
. - Never set font-sizes in
px
. Always userem
for font-sizes. read - Every page needs a
<main>
landmark. read
Marked as helpful
0