A
A
artem2020-06-14 22:32:19
css
artem, 2020-06-14 22:32:19

Why doesn't the header fit into the browser?

Created a site layout in Photoshop. When creating, I specified the page width of 1380 px, now I don’t understand how to reduce it to the screen size without reworking the entire layout. What should be the resolution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valera Dobroman, 2020-06-14
@arteqrt

To make the header full screen, make the element width: 100%; Pixels are a static unit of measure, and percentages are elastic (that is, when zooming in and out of the screen, np. ctrl + and ctrl - with percentages will also change.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question