I'm making a website and seeing the changes with Chrome. I have finished designing the web and all the content when changing to a resolution (1366X768) is misplaced and many elements do not occupy 100% of the box. I mean, I get the feeling that the default view of the Chrome "stretches" all the elements but when I change the resolution everything is unset at a higher resolution.
My question is, how can I lay out the page in a specific resolution?
I paste the code:
.menu-navegacion {
position: fixed;
width: 22%;
height: 400px;
margin-top: 200px;
margin-left: 3%;
z-index: 10;
font-size: 1rem;
font-family: 'Monserrat', Arial, sans-serif;
font-weight: bold;
line-height: 50px;
text-transform: uppercase;
letter-spacing: 2px;
}
@media screen and (max-width: 480px) {
body {
background-color: lightgreen;
}
@media screen and (max-width: 480px) {
.menu-navegacion {
font-size: 2rem;
}
Note: I can not use Bootstrap because it is an end-of-course project and in this case they do not allow it to be used. Yes it is true that the media query explained them well above and I have not been anything clear.