D
D
Dimas1232016-02-16 16:47:08
css
Dimas123, 2016-02-16 16:47:08

How to lay out an image across the entire width of the parent block?

I am using bootstrap. There is a wish to make such structure
6b4d587a17524f7c916bba9b61e56c38.png
How it is possible to make a picture in all width of the row block? It is desirable that for this picture or block just put down a class. But if this is not possible, then any solution will do.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
mr_firuzinho, 2016-02-16
@mr_firuzinho

You will need the .container-fluid class

D
Dima Pautov, 2016-02-16
@bootd

negative side indents.

A
alexmelnik, 2016-02-16
@alexmelnik

You make a full-width container with this background, and stuff the bootstrap container into it.

M
Mikhail, 2016-02-16
Chirskiy @chirskiy_mixail

Split into several sections, 1 which is centered, 2 fluid for the entire width, everything else is a crutch solution

Z
zjoin, 2016-02-16
@zjoin

width: 100vw

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question