George  Silva
George Silva

Reputation: 385

Container color does not fill the whole container

I am trying to fill my whole container with a particular color, but i am unable to write the code as to how to fill it

<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet"/>
<div className="container-fluid d-flex h-100 flex-column" class="p-3 mb-2 bg-light text-dark">
        <div className="row bg-light flex-fill d-flex justify-content-start">
          <div className="col-20 mx-auto col-md-8 mt-4 mb-4 custom-row-bg">
            <h2 className="text-center text-uppercase">input todo</h2>
          </div>
        </div>
      </div>

This only fills up 1/3 of a page, but i want the color to fill up the whole page

enter image description here

I want the ash color all throughout the page

Upvotes: 0

Views: 46

Answers (1)

Tzimpo
Tzimpo

Reputation: 1009

Check this live example

I just change bg-dark text-light to be the change obsiously!

Upvotes: 1

Related Questions