Answer the question
In order to leave comments, you need to log in
Is it possible to set the base pixel size in CSS?
Hello colleagues!
Confused with PX and EM. When laying out I use Flexbox grid , media is specified in EM
, there is a type code@media only screen and (min-width: 48em)
<div class="col-xs-12 col-sm-12 col-md-6 cal-lg-6"></div>
col-xs-* - phones, up to 480px
col-sm-* - tablets, 768px and up
col-md-* - desktops, 992px and up
col-lg-* - large desktops, 1200px and up
Answer the question
In order to leave comments, you need to log in
For using bootstrap and flexboxgrid, I would personally shoot on the spot.
Especially when you have to sort out scribbles like
Write a list of your media queries in exactly 5 minutes. Just like writing your own grid.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question