I have this element like so:
<div class="box">Beautiful Wooded Lots</div>
now the box class is a triangle generated from here:
http://apps.eky.hk/css-triangle-generator/
and I got this from there:
.box {
width: 0;
height: 0;
border-style: solid;
border-width: 300px 300px 0 0;
border-color: #25779B transparent transparent transparent;
position: absolute;
color: #FFF;
font-size: 30px;
text-transform: uppercase;
}
But the text is not going inside the triangle. What I am trying to do is get the text inside the triangle and have the text on an angle.
Here is a jSFiddle