Answer the question
In order to leave comments, you need to log in
How to make pixel perfect on bootstrap?
Suppose there are moments in the layout that do not fit into the 12-column bootstrap grid, for example:
1) The left block col in width can be equal to 2.5 (two and a half standard columns) or 3.7 (standard columns) - the right block 7.8 (standard columns).
2) The point of the media query if the block is not standard will also be different.
3) The width of the main container is not bootstrap, for example 1750px.
4) How are the sites not drawn under the bootstrap grid pixel perfect in general. Alternatively, it can be assumed that the styles of the framework overlap in some places or there are other solutions.
All values are taken as an example. How best to handle such moments?
Answer the question
In order to leave comments, you need to log in
The left col block can be 2.5 wide (two and a half standard columns)
.col {
@include make-col-ready();
@include make-col(2.5);
}
.col-1-of-5 {
@include make-col-ready();
@include make-col(1, 5);
}
1) don't use bootstrap's col and make your own columns?
2) well, put your points
3) everything you want is customized here getbootstrap.com/docs/3.3/customize
4) see item 1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question