I want to create a Parallelogram object by flat (true) background-image .
HTML:
<div class="q-item"></div>
CSS:
.q-item {
width: 180px;
height: 132px;
background:url('http://jsfiddle.net/img/logo.png') no-repeat no-repeat 13px 1px;
float: left;
margin-left: 58px;
padding-right: 1%;
border: 2px solid #1D2A3D;
-webkit-transform: skew(-20deg);
-moz-transform: skew(-20deg);
-o-transform: skew(-20deg);
}
please see my sample at jsfiddle
how to set transform for div
without effect on object's on this element and whiteout effect at this background?