I
I
Ivan Pogorelov2014-10-11 12:20:10
css
Ivan Pogorelov, 2014-10-11 12:20:10

What are the screen sizes?

I am currently building a responsive website. With the libraries of experiments, I already had enough. I use pure css. but this will have to set the dimensions at which css is connected with handles. I have five files: smartphones, tablets, small monitors, large monitors, and general. Well, in general, the question itself is: what sizes to ask for each of the 4 styles?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
S
Sergey, 2014-10-11
Protko @Fesor

use pure css

better unclean less/scss
Much easier not to worry about different devices. Lots of devices. There are phones with a screen like a tablet and tablets with a screen like a phone. There are those who like to rotate the monitor by 90%, there are smart watches with browsers, there are microwave ovens with browsers ...
That is, we take a browser and resize the window ... and look at what resolution everything is bad and what is good. We rebuild the elements after reaching a certain threshold. The sizes nevertheless from design and the task are set.

J
Julia YuKi, 2014-10-11
@yulsonka

+100, the answer to your question: screens are different and should ideally look good on everyone, so we take the browser and resize where it breaks - we make a breakpoint - yes, the minus is that you can’t spread it into different files, but take it preprocessor in hand and forward - everything is conveniently written right into the ladder.

N
Nazar Mokrinsky, 2014-10-11
@nazarpc

Also read about what a viewport is and why on mobile devices 1px is not what you might think.

D
Dima Pautov, 2014-10-11
@bootd

Here is the answer !

Z
zooks, 2014-10-11
@zooks

I use three sizes for CSS media:

$small: 0; //480px and below
$medium: 30em;
$large: 48em;

Can you add more
$extralarge: 75em;

S
Sergey, 2014-10-11
@zetabit

quirktools.com/screenfly
enter your site address, up to the fact that you can localhost
and immediately in the menu size

H
Hovhannes Sargsyan, 2014-10-25
@sarhov

>>>>> What are the screen sizes?
Already any, you just need to make it look good everywhere, in Firefox-e you press ctrl + shift + M, and you start resizing. )))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question