fix
Carlos Benítez
EnjoyCSS: un generador de código CSS3 a través de interfaz gráfica web
Proceed(4)
Thanks for your like.
You've done it, haven't you?
{"sid":"11pE","rid":0,"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="pentagon"></div>
Copy to clipboard
CSS
LESS
SCSS
.pentagon {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 108px;
  position: relative;
  top: 131px;
  border: 36px solid rgba(0,0,0,0);
  border-top: 100px solid #1abc9c;
  border-bottom: 0 solid #1abc9c;
  font: normal 100%/normal Arial, Helvetica, sans-serif;
  color: rgba(0,0,0,1);
  -o-text-overflow: clip;
  text-overflow: clip;
}

.pentagon::before {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 0;
  height: 0;
  position: absolute;
  content: "";
  bottom: 100px;
  left: -36px;
  border: 90px solid rgba(0,0,0,0);
  border-bottom: 70px solid #1abc9c;
  font: normal 100%/normal Arial, Helvetica, sans-serif;
  color: rgba(0,0,0,1);
  -o-text-overflow: clip;
  text-overflow: clip;
  text-shadow: none;
}