JSFiddle - React, Tailwind, and code Playground

by kougiland

HTML

<div class='elemento'>
    <span class='entypo-basket'></span>
  </div>
  <div class='elemento dos'>
    <span class='entypo-plus-squared'></span>
  </div>
  <div class='elemento tres'>
    <span class='entypo-box'></span>
  </div>

CSS

@import url(http://weloveiconfonts.com/api/?family=entypo);
[class*="entypo-"]:before {
  font-family: 'entypo', sans-serif;
}
html {
  background: #16A085;
}
.elemento {
  width: 15rem;
  height: 15rem;
  line-height: 15rem;
  background: #E74C3C;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  position: relative;
  display: inline-block;
  margin: 3% 5rem 3% 0;
}
.dos {background: #FD9500;}
.tres {background: #C618BA}
.elemento:after {
  content:'';
  background-image: linear-gradient(to right, rgba(0,0,0,.05) 60%, rgba(0,0,0,0));
  width: 150%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 7.5rem;
  transform: rotate(45deg);
  transform-origin: 0 50% 0;
  z-index: -1;
}
span {
  font-size: 5rem;
  line-height: 15rem;
  color: #fff;
  position: relative;
  z-index: 1;
}
span:after {
  content:'';
  background-image: linear-gradient(to right, rgba(0,0,0,.15) 30%, rgba(0,0,0,0));
  width: 140%;
  height: 90%;
  position: absolute;
  left: 1rem;
  top: -0rem;
  transform: rotate(44deg);
  transform-origin: bottom left 0;
  z-index: -1;
}
.dos span:after {
  transform: rotate(44deg);
  left: 0rem;
  top: -6%;
  height: 88%;
  width: 160%;
}