Svitlana Suslenkova• 4,690
@SvitlanaSuslenkova
Posted
main doesn't need a class usually: main: {css} (no dot)
main: width 20% If you add width in % or vw, it's better to add max-width: px or rem, it doesn't replace width.
0
@SvitlanaSuslenkova
Posted
main doesn't need a class usually: main: {css} (no dot)
main: width 20% If you add width in % or vw, it's better to add max-width: px or rem, it doesn't replace width.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord