Biology, asked by navyag4058, 1 year ago

how to increase width of bootstrap body content to 100%

Answers

Answered by Raju2392
0
I want to create alternating 100% colored blocks. An "ideal" situation is illustrated as an attachment, as well as the current situation.

Desired setup:



Currently:



My first idea was to create an div class, give it a background color, and give it 100% width.

.block {
width: 100%;
background: #fff;
}
However, you can see that this obviously doesn't work. It's confined to a container area. I tried to close the container and that didn't work either.
Similar questions