I have got following button in my html code<input type="button" id="button" title="button" name="button" class="button" value="button" />
and this css attached
.button{
width:200px;
height:;50px;
position:relative;
top:50px;
left:200px;
background:-webkit-linear-gradient(180deg,white 33%,blue 67%)
}
https://jsfiddle.net/mudkcuqj/
Now my spirit desires to remove that heinous fade which is caused by gradient
If you're looking to remove the fade from blue to white, and have it be blue up until a point, then change to white, have the colors start and end at the same point.
.button{
width:200px;
height:50px;
position:relative;
top:50px;
left:200px;
background:linear-gradient(180deg,white 33%,blue 33%);
background:-webkit-linear-gradient(180deg,white 33%,blue 33%);
}
<input type="button" id="button" title="button" name="button" class="button" value="button" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With