CSS
.block{
-moz-linear-gradient(left, #e5e5e5 0%, #000000 100%);
}
Change to
-moz-linear-gradient(left, #e5e5e5 50%, #000000 100%);
html
<div class="block" style="width:500px; height:500px;"></div>
I don’t want to replace all of the style.Because I need to give user choose 1-100
then only change the % ,so how to select the % element & change it ?
How about this: