2 * Shape/Polygon/Octagon
4 * @author Maxime Thirouin maxime.thirouin@gmail.com @MoOx
7 //Don't ask me when the coefficient cames from... I just compute then from original code by @chriscoyier
8 @mixin octagon($width: 100px, $height: 100px, $background-color: transparent)
12 background: $background-color;
25 border-left: $width*0.29 solid transparent;
26 border-right: $width*0.29 solid transparent;
33 border-bottom: $height*0.29 solid $background-color;
38 bottom: -$height*0.29;
39 border-top: $height*0.29 solid $background-color;