M
M
Maria Popova2016-05-23 00:48:27
ASP.NET
Maria Popova, 2016-05-23 00:48:27

How to create\work with ProgresBar?

you need a progress bar for filling in the data, like this, how many percent the profile is filled in and show it by filling the bar, push / show how to implement it. This is all in asp net, please help)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aram Aramyan, 2016-05-23
@GreenBee

The simplest way: 2 divs. One has a fixed width, while the second is specified as a percentage. The first has only a contour, the second has a filling.
HTML:

<div class="progress-bar">
<div class="progress" style="width:50%">
50%
</div>
</div>

CSS:
div.progress-bar
{
  width: 200px;
  border: 1px solid gray;
  background-color: white;
}

div.progress
{
  background-color: green;
  text-align: center;
}

Like this: https://jsfiddle.net/6d7zxvaz/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question