Zoomed-out sizing in twitter bootstrap?
The answer is NO, there is no single, simple way to do this in bootstrap settings, even when recompiling from LESS is on the table.
The crux of the issue is that the bootstrap responsive design works with massive 1200px displays. This makes a 1000px laptop's display look highly zoomed-in.
Editing the less files directly, I reduced font-sizes, reduced the 1200 width and font sizes in..
- variables.less
- media.less
- layouts.less
- responsive-1200-min.less
And it only seemed to break the navbar. My understanding from the bootstrap github is that there is a fair amount more hardcoding than the less variables suggest, and that accounts for much of the problem.
how to make background image zoomed on small devices
Use:
background-size: 150% auto; // Yes background size can be increased more than 100%.
You can use background-position
to focus on a certain part.
Twitter Bootstrap Prints In XS
To fix it I did add the following to my CSS
@media print {
body {
margin: 0;
padding: 0 !important;
min-width: 768px;
}
.container {
width: auto;
min-width: 750px;
}
}
This seems to have worked great for me.
Responsive website zoomed out to full width on mobile
Add this to your HTML head..
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
This tells smaller device browsers how to scale the page. You can read more about this here: https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html
Related Topics
How to Use CSS to Justify Text with Hyphenating Words at The End of a Line
Hide All Text Except for The First Letter with CSS
Making Responsive Images with Different Aspect Ratios The Same Height
How to Put a List Inside a Span Tag
What Is .Htc File How It Works in Internet Explorer
Is There Cross Browser Word-Wrap: Overflow-Wrap Solution
Clearfix with Twitter Bootstrap
What Is The Use of @Namespace in CSS
Sass Importing Without Compiling
CSS3 Box-Shadow for Overlapping-Like Divs
How to Resolve The CSS Warnings for Browser Specific Selectors in Bootstrap 3
Can a Child Div Have a Higher Opacity Than Parent with CSS
How Are The Widths of Nested Absolutely Positioned Elements Determined
Horizontal Submenu for a Vertical Main Menu Using Bootstrap
Fixed Position Misbehaviour in Ie11