P
P
pmozil2019-04-02 14:55:16
css
pmozil, 2019-04-02 14:55:16

How to make the row element fill the entire width of the screen if bootstrap limits it?

I am newbie and just learning bootstrap.
There is such a landing screen:
5ca34c3e31522251075409.jpeg
As you can see, the layout was created according to the grid, that is, there will be indents on the right and left, how to remove them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael R., 2019-04-02
@pmozil

if bootstrap limits it

Only according to your wishes...
Provides...
I assume that you used the class container, and it in turn limits the width of the content. Whatever it is, you need to use the class container-fluid.
Haven't worked with Bootstrap for a long time, but as a reminder, like this:
<div class="container"> <!-- max-width: 1200px -->
  <div class="row">content</div>
</div>

<div class="container-fluid"> <!-- max-width: 100% -->
  <div class="row">content</div>
</div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question