Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to remove the whitespace below the bootstrap progress bar

How can I remove or minimize the gap in between progress bar and string:

<div class='progress'><div class='progress-bar' role='progressbar' aria-valuenow='60' aria-valuemin='0' aria-valuemax='100' style='width: 80%;'></div></div>
<!--Here will be a huge whitespace, and needs to be removed-->
remove white space above this line

Here is a fiddle: http://jsfiddle.net/1ts9b5m4/

Thanks in advance!

like image 1000
xam Avatar asked Apr 29 '16 22:04

xam


People also ask

How to remove space between divs in bootstrap?

Approach: By default, Bootstrap 4 has class=”no-gutters” to remove gutter spaces of any specific div. The following image shows the highlighted gutter space and space between columns on bootstrap 4 12 column grid system. You can even modify gutter width by reducing 15px width of gutter space between each columns.

What is bootstrap progressbar?

A progress bar can be used to show a user how far along he/she is in a process. Bootstrap provides several types of progress bars. A default progress bar in Bootstrap looks like this: 70% Complete.


1 Answers

Use style="margin-bottom:0px;"

<div class='progress' style="margin-bottom:0px;"><div class='progress-bar' role='progressbar' aria-valuenow='60' aria-valuemin='0' aria-valuemax='100' style='width: 80%;'></div></div>
<!--Here will be a huge whitespace, and needs to be removed-->
remove white space above this line
like image 90
Timothy Kanski Avatar answered Oct 01 '22 07:10

Timothy Kanski