fix
Rashel Hariri
This is so helpful!
Proceed(7)
Thanks for your like.
You've done it, haven't you?
{"sid":"17g2","rid":19,"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="gradient-pattern"></div>
Copy to clipboard
CSS
LESS
SCSS
.gradient-pattern {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 70px;
  height: 80px;
  border: none;
  font: normal 100%/normal Arial, Helvetica, sans-serif;
  color: rgba(255,255,255,1);
  -o-text-overflow: clip;
  text-overflow: clip;
  background: -webkit-linear-gradient(-30deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 39%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 41%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(30deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 59%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 61%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(30deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 38%, rgba(255,255,255,1) 39%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(-30deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 59%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 61%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(-30deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 19%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 21%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(-30deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 78%, rgba(255,255,255,1) 79%, rgba(255,255,255,0) 80%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(30deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 80%, rgba(255,255,255,1) 81%, rgba(255,255,255,0) 82%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(30deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 19%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 21%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(0deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 48%, rgba(255,255,255,1) 49%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(-90deg, rgba(255,255,255,0) 0, rgba(255,255,255,1) 1%, rgba(255,255,255,0) 2%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(-90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 98%, rgba(255,255,255,1) 100%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(-90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 74%, rgba(255,255,255,1) 75%, rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(-90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 49%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 100%), -webkit-linear-gradient(-90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 24%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 100%), rgb(0,0,0);
  background: -moz-linear-gradient(120deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 39%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 41%, rgba(255,255,255,0) 100%), -moz-linear-gradient(60deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 59%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 61%, rgba(255,255,255,0) 100%), -moz-linear-gradient(60deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 38%, rgba(255,255,255,1) 39%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%), -moz-linear-gradient(120deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 59%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 61%, rgba(255,255,255,0) 100%), -moz-linear-gradient(120deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 19%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 21%, rgba(255,255,255,0) 100%), -moz-linear-gradient(120deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 78%, rgba(255,255,255,1) 79%, rgba(255,255,255,0) 80%, rgba(255,255,255,0) 100%), -moz-linear-gradient(60deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 80%, rgba(255,255,255,1) 81%, rgba(255,255,255,0) 82%, rgba(255,255,255,0) 100%), -moz-linear-gradient(60deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 19%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 21%, rgba(255,255,255,0) 100%), -moz-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 48%, rgba(255,255,255,1) 49%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%), -moz-linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,1) 1%, rgba(255,255,255,0) 2%, rgba(255,255,255,0) 100%), -moz-linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 98%, rgba(255,255,255,1) 100%, rgba(255,255,255,0) 100%), -moz-linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 74%, rgba(255,255,255,1) 75%, rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%), -moz-linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 49%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 100%), -moz-linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 24%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 100%), rgb(0,0,0);
  background: linear-gradient(120deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 39%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 41%, rgba(255,255,255,0) 100%), linear-gradient(60deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 59%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 61%, rgba(255,255,255,0) 100%), linear-gradient(60deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 38%, rgba(255,255,255,1) 39%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%), linear-gradient(120deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 59%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 61%, rgba(255,255,255,0) 100%), linear-gradient(120deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 19%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 21%, rgba(255,255,255,0) 100%), linear-gradient(120deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 78%, rgba(255,255,255,1) 79%, rgba(255,255,255,0) 80%, rgba(255,255,255,0) 100%), linear-gradient(60deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 80%, rgba(255,255,255,1) 81%, rgba(255,255,255,0) 82%, rgba(255,255,255,0) 100%), linear-gradient(60deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 19%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 21%, rgba(255,255,255,0) 100%), linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 48%, rgba(255,255,255,1) 49%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%), linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,1) 1%, rgba(255,255,255,0) 2%, rgba(255,255,255,0) 100%), linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 98%, rgba(255,255,255,1) 100%, rgba(255,255,255,0) 100%), linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 74%, rgba(255,255,255,1) 75%, rgba(255,255,255,0) 76%, rgba(255,255,255,0) 100%), linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 49%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 100%), linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 24%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 100%), rgb(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;
}