Answer the question
In order to leave comments, you need to log in
How to center block for all screen resolutions?
Hello everybody! I'm developing a website and a problem arose: with a large screen width, the central block moves to the left ... and also the header stretches across the width of the screen ... in general, it is necessary that all elements remain in the center of the page, no matter what the resolution is, please tell me how all this can be done and is it possible with my code ...
Here is a link to the site: http://parabola365.rf
Answer the question
In order to leave comments, you need to log in
The first way is the most unpleasant and difficult: Prescribe styles for all permissions, that is
@media only screen and (min-width : 768px) {
}
.block {
display: flex;
justify-content: center;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question