J
J
Jedi2018-08-13 02:48:13
JavaScript
Jedi, 2018-08-13 02:48:13

How can I implement the following?

The site cannot be viewed in vertical mode.
I can't add an image from my mobile device, but I can leave a link:
https://pp.userapi.com/c848616/v848616331/4eca0/82...
How can I implement this?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
ProjectSoft, 2018-08-13
@PHPjedi

/* вертикальное положение */
@media (orientation: portrait) {
  /*** Стили ***/
}

/* горизонтальное положение */
@media (orientation: landscape) {
  /*** Стили ***/
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question