I want to apply a webkit transformation to a div (in this case, skew
), but don't want the text to be affected. How would I go about this? My current code is below:
.main_div {
width:200px;
height:100px;
background:red;
margin-left:55px;
margin-top: 25px;
position:relative;
-webkit-transform: skew(-30deg);
}
<div class="main_div">
Dummy Text Here
<input type="field" value="" name="" ></input>
</div>