Y
Y
Yurik7k2018-03-28 06:25:45
css
Yurik7k, 2018-03-28 06:25:45

How to make the right responsive layout with bootstrap?

Recently, I began to wonder how to properly typeset on bootstrap and use a minimum of css media query. For example, a standard situation:
The designer gave the source code from Photoshop, in these source codes the bootstrap grid for MD devices is marked.
According to this grid and dimensions, I made up the whole thing and adjusted everything to the layout of the design. Everything is great.
Now we make the screen width 1199px, bootstrap throws styles for sm devices.
Now we need to somehow bring the site into a divine form from the screen width from 1199 to 992 pixels.
For example, in the header of the site, it is enough to make the site font smaller and reduce the indents a little, usually I would write my own media queries and override the required styles, but I want to make everything work proportionally and minimize these queries or refuse them altogether.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kuznetsov, 2018-03-28
@dima9595

bootstrap throws styles for sm devices

And who forbids adding styles yourself? .col-md-10, .col-lg-10 etc.
If I'm not mistaken, then Bootstrap has something like that. Look. Otherwise, you will have to write everything with pens.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question