mardi 21 avril 2015

Banner with angled shapes

Trying to create a banner with a triangular shape at the end.

.wrapper {
  padding: 50px;
  font-size: 0px;
  line-height: 0%;
  width: 0px;
  border-top: 20px solid gray;
  border-bottom: 20px solid gray;
  border-right: none;
}
<div class="wrapper">TEXT HERE</div>

enter image description here

Aucun commentaire:

Enregistrer un commentaire