K
K
kherel2016-08-08 14:23:48
css
kherel, 2016-08-08 14:23:48

How to color block in bootstrap outside of row?

42ec70ec331a4be098c254d4e7c198d8.png
there are divs inside the container. You need to change the background color, the 1st of them, but in such a way that the area of ​​​​painting goes beyond the boundaries of the container, and is up to the border of the window. without using js.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kn1ght_t, 2016-08-08
@kn1ght_t

.div {
position: relative;
}
.div:after {
content: '';
position: absolute;
top: 0;
bottom: 0;
right: 100%;
width: some width;
background: some color;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question