Template:Percentage bar/styles.css: Difference between revisions
Appearance
Content deleted Content added
and a height there |
width here |
||
Line 12: | Line 12: | ||
background-color: #dbdbdb; |
background-color: #dbdbdb; |
||
height: 1.5em; |
height: 1.5em; |
||
width: 50%; |
|||
} |
} |
||
Revision as of 01:28, 6 August 2024
.percentage-bar {
position: relative;
border: 1px solid #aaa;
background-color: #fff;
width: 100px;
max-width: 100%;
height: 1.5em;
}
.percentage-bar-fill {
position: absolute;
background-color: #dbdbdb;
height: 1.5em;
width: 50%;
}
.percentage-bar-text {
position: absolute;
width: 100%;
height: 1.5em;
text-align: center;
color: #000;
}