Fill full screen design with twitter bootstrap
13,114
Solution 1
Following TWB 2 syntax :
replace
<div class="container">
by
<div class="container-fluid">
Solution 2
Add -fluid
to your container
class:
<div class="container-fluid">
</div>
Even then, Bootstrap adds 20px
padding either side of the document, which of course - you can remove like below:
<style type="text/css">
#full-width {
padding: 0;
}
</style>
<div id="full-width" class="container-fluid">
</div>
Example Fiddle: http://jsfiddle.net/qFKdF/1/
Solution 3
hope it will help you, u need to add custom div with width:100%
.container-full {
margin: 0 auto;
width: 100%;
}
Author by
Tushar Gupta - curioustushar
Tech enthusiast, Open source evangelist, Curious learner. Curiosity replaces I have to with I want to. #SOreadyToHelp
Updated on June 07, 2022Comments
-
Tushar Gupta - curioustushar almost 2 years
i am trying to make the screen to fully fill with the design no empty things around and also be responsive i have tried it so far.
Also want to Size of text-box and Login button.
Current Output