[Solved] How do I create a trapezoidal button using CSS? [duplicate]


Join a triangle and a div http://jsfiddle.net/togwsmme/21/

.btn {
  width: 100px;
  height: 100px;
  background: red;
  float: left;
}
.rit {
  float: left;
  width: 0;
  height: 0;
  border-top: 100px solid red;
  border-right: 100px solid transparent;
}
<div class="btn">Content</div>
<div class="rit"></div>

5

solved How do I create a trapezoidal button using CSS? [duplicate]