2
I’m having trouble styling a tag <progress>
. I can not change the internal color and the inner part comes out half "square", sometimes even exceeding the margin. How can I solve?
On the left as it came out in Chrome and Firefox.
Structure of HTML:
<div class="lateralesquerda">
<div class="blocosesq habilidades">
<h5>Habilidades Profissionais</h5>
<p>qwe123</p>
<p> <progress value="60" max="100"></progress></p>
<p>Lorem Ipsum</p>
<p> <progress value="25" max="100"></progress></p>
<p>abcdef</p>
<p> <progress value="10" max="100"></progress></p>
<p>12346</p>
<p> <progress value="20" max="100"></progress></p>
<p>zxcv</p>
<p> <progress value="30" max="100"></progress></p>
</div>
</div>
Structure of the CSS:
@charset "UTF-8";
body{
font-family: Times, serif;
text-align: justify;
background-color: #EBE9E9;
color: rgba(0, 0, 0, 1);
/*overflow: hidden;*/
word-wrap: break-word;
}
p{
text-align: justify;
text-indent: 1pt;
}
.lateralesquerda{
display: block;
width: 15%;
border-right: 0.01em solid rgba(193, 193, 193, 0.7);
float: left;
background-color: #b0c4de;
margin-top: -0.47em;
margin-left:-6pt;
box-shadow: 0px 0px 10px rgba(193,193,193,0.6);
}
progress{
display: block;
width: 15em;
margin: 1px auto;
padding: 1px;
border: 0 none;
background: #888;
border-radius: 20px;
}
My goal was to do something more or less like this:
Thanks in advance.