.hex1::before { content: "\2B22"; color: orange; font-size:135px; } .hex2::before { content: "\2B22"; display:block; color: magenta; font-size:135px; -webkit-transform: rotate(-30deg); -moz-transform: rotate(-30deg); -o-transform: rotate(-30deg); transform: rotate(-30deg); } ⬢