Y
Y
Yuri Shchegolikhin2017-05-13 17:10:21
css
Yuri Shchegolikhin, 2017-05-13 17:10:21

How to make the site appear in full screen?

How to make the site look like on a computer?
When logging in with a mobile devices have to reduce the size of the browser to see all the items on the site.
More precisely, when entering the site, the left corner is displayed to fit the device screen.
It is necessary to see the full page when entering with mob. devices.
How can I do that? Prompt
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
Flying, 2018-07-18
@AlexFo90

In order for everything to work, it is necessary that the input comes before the label, and not after. CSS selectors only work "forward", respectively, if you want to tie a style change to the checkbox state - it must be located in the DOM before the elements to which the styles depending on the checkbox state will be applied

A
Alexander Alekseev, 2018-07-18
@shure348

[type=checkbox]:checked + .my_block {}
that's all the magic

S
Salim_Gareev, 2017-05-13
@Salim_Gareev

<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'>

Look in this direction.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question