fix
Rodrigo Kono
This webApp can help for developers who are not masters in CSS
Proceed(9)
Thanks for your like.
You've done it, haven't you?
{"sid":"zR","rid":4,"page":"code","page_params":[],"username":""}
Skip
Next

We'll add only required prefixes
for browsers you gonna choose,
based on data from caniuse.com
4+
4+
9+
10.5+
4+
5.0+
2.1+
7+
Hide default rules
Copy to clipboard
HTML
<div class="fill">60%</div>
Copy to clipboard
CSS
LESS
SCSS
.fill {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 90px;
  height: 200px;
  position: relative;
  top: 20px;
  left: 50px;
  padding: 8px;
  border: none;
  font: normal normal bold 12px/normal Tahoma, Geneva, sans-serif;
  color: rgba(0, 0, 0, 0.560784);
  text-align: right;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: -webkit-linear-gradient(-90deg, rgb(254,254,254) 0, rgb(254,254,254) 4%, rgb(244,244,244) 100%);
  background: -moz-linear-gradient(180deg, rgb(254,254,254) 0, rgb(254,254,254) 4%, rgb(244,244,244) 100%);
  background: linear-gradient(180deg, rgb(254,254,254) 0, rgb(254,254,254) 4%, rgb(244,244,244) 100%);
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  -webkit-transform-origin: 0 0 0;
  transform-origin: 0 0 0;
}

.fill::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  border: none;
  font: normal 16px/normal "Times New Roman", Times, serif;
  color: rgba(0, 0, 0, 0.901961);
  -o-text-overflow: clip;
  text-overflow: clip;
  background: -webkit-linear-gradient(-90deg, rgb(165,166,170) 0, rgb(199,199,201) 100%), rgba(0,0,0,0);
  background: -moz-linear-gradient(180deg, rgb(165,166,170) 0, rgb(199,199,201) 100%), rgba(0,0,0,0);
  background: linear-gradient(180deg, rgb(165,166,170) 0, rgb(199,199,201) 100%), rgba(0,0,0,0);
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  text-shadow: none;
  -webkit-transform:   translateX(-88px) skewY(20deg);
  transform:   translateX(-88px) skewY(20deg);
  -webkit-transform-origin: 100% 100% 0;
  transform-origin: 100% 100% 0;
}