A
A
AntonGoretskiy2014-08-31 00:12:16
css
AntonGoretskiy, 2014-08-31 00:12:16

Bootstrap3 how to insert blocks to the left and right of the container so that they take up the remaining screen width?

a73d54d65f3240128956fe6d63bc1b08.pngthe blocks will contain parts of the previous and next slide, and the container'e-slider.
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Zachinalov, 2014-08-31
@SanDiesel

On a good note, the container is in bootstrap and is designed so that there is nothing on the sides, you either make up the slider without it, i.e.

<div class="container"></div>
<div class="slider"></div>
<div class="container"></div>

either use position:absolute for sidebars + right:0; and left:0 but you have to set the width yourself

K
KorsaR-ZN, 2014-08-31
@KorsaR-ZN

and the standard grid ( grids ) doesn't solve your problem?

D
Dmitry Evgrafovich, 2014-09-03
@Tantacula

I had a vague suspicion that you didn't get to the container-fluid class. Try wrapping it around. And do not break the grid with a rake with crutches and stretch the contents to full screen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question