Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Запорол стили((


Recommended Posts

Доброй ночи всем.

Сайт.

Десь запоров стилі, а де не можу зрозуміти. Але мобільна версія тепер у ресурсу більше немає, ніж є, прошу знаючих допомогти порадою

Link to comment
Share on other sites


В 03.04.2023 в 08:01, ibond сказав:

stylesheet.css

cтр.11

del:

.container {
    width: 1370px;
}

 

Да, уже тоже догадался на него, но тогда непонятно как в десктопной расширить структуру сайта

Link to comment
Share on other sites


On 4/3/2023 at 9:59 AM, wwizard said:

Да, уже тоже догадался на него, но тогда непонятно как в десктопной расширить структуру сайта

@media (min-width: 1200px) {
  .container {
      width: XXXXpx;
  }
}

 

Link to comment
Share on other sites

Posted (edited)
В 03.04.2023 в 10:00, ibond сказав:
@media (min-width: 1200px) {
  .container {
      width: 1370px;
  }
}

 

Ні, не хочє так((

 

@media screen and (min-width: 1200px)
body .container {
    width: 1370px;
}

і так теж(

 

РАЗОБРАВСЯ))

Edited by wwizard
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.