A
A
Anastasia Dementieva2015-10-04 16:31:08
css
Anastasia Dementieva, 2015-10-04 16:31:08

How to adapt the site?

Hello, I’m learning, so please don’t throw tomatoes at me))
How to make the site be 1200px wide on all screens >= 1200px, and for 1024, so that it is full width without a scrollbar ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Fedorov, 2015-10-04
@aliencash

Place all site code in a container

.container {
   margin: 0 auto;
   width: 100%;
   max-width: 1200px;
}

A
Anton Zhukov, 2015-10-04
@MrCheater

media queries css https://developer.mozilla.org/en-US/docs/Web/CSS/M...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question