I am trying to create a site that - my initial thought - requires 2 overlapping jumbotron - using bootstrap 3. 1 jumbotron - stretching 100% of the width - traditional gray color. 1 overlap is an extra jumbotron that comes down to the size of the "container", but it will have a background image.
The 1st attempt - with overlapping jumbotron - this allowed us to respond to the image, however, the full-width jumbotron then did not match the size of the overlapping image.
<div class = "jumbotron"> <div class ="jumbotron container>//image <p>Sample text</p> </div> </div>
The second way is with 1 jumbotron - however this does not allow my image to respond:
<div class="jumbotron"> <div class="row"> <div class="col-md-8"> <div class="jumbpic"> <img src="style/images/car2.png"></div></div> <div class="col-md-4"> <p>Sample text</p>
Is there a simple alternative that allows using a full-width jumbotron, but allowing a central image that can also respond to screen size?
html css twitter-bootstrap
user289040
source share