
Kamil Szymon
@kamiliano1All comments
- @matbac85@kamiliano1
Hi,
Congratulations on finishing this project, It looks and works fine, but on the big screen, it is stretched for the whole area. You can use
max-width:
andmargin: 0 auto
CSS properties to center the content on the<body>
element.You can use
device mode
on your browser to see how your project looks on smaller or bigger screens. - @KingaWoch@kamiliano1
Hello,
Congratulations on completing this challenge.
You might consider having
max-width
on the<main>
element because, on the big screen, the page is stretched. After that to center it, you can usemargin-left: auto
margin-right: auto
or use one propertymargin-inline: auto