Kirkusscott
6/29/2018 - 2:20 AM

Geometri CSS

.downArrow {
  background: #333;
  position: relative;
  &::after,&::before {
    position: absolute;
    content: '';
    width: 75px;
    height: 75px;
    background: #333;
    bottom: -.75em;
    z-index: 100;
  }
  &::before {
    right: 50%;
    -webkit-transform: skew(0, 20deg);
    transform: skew(0, 20deg);
  }
  &::after {
    left: 50%;
    -webkit-transform: skew(0, 20deg);
    transform: skew(0, -20deg);
  }
}
/* Uneven BG Line */
.uneven {
  background: #FF6B6C;
  position: relative;
  z-index: 10;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
  margin-bottom: -10vw;
}
/* Circle */
.circlebg {
  background: rgba(0,0,0,.3);
  color: rgba(0,0,0,.3);
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2em;
}
/* Romb */
.romb {
  background-color: red;
  width: 150px;
  height: 250px;
  margin-bottom:100px;
  margin: 0 auto;
  padding:10px;
  -webkit-transform: skew(25deg);
  transform: skew(25deg);
}