Set height in boostrap

Asked

Viewed 48 times

0

Hello

How I define the height of a line in Bootstrap 4 ?

My code:

 <div class="row doc-grid">
   <div class="col-md-3">.col-md-8</div>
   <div class="col-md-9">.col-md-4</div>
 </div>

Thank you

  • Have you tried CSS . doc-grid {height: Xxpx;}?

  • I didn’t want to change the original code

  • No, just give the element a different class/id not to change the bootstrap default, so style the element however you want

  • I did not find the . doc-grid

  • doc-Grig is the class of its Row element, look at the html you put in the question, it’s there

  • I found and put the height: 100%, but did not change anything, I already created a div with height 100%, but also came to nothing.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.