I created 3 divs with each 33% width, which I want to tilt a few degrees. The first and last div should not be oblique, so it will only work for internal content. This is also because I want to add 4 divs (25% of the width) in the near future.
I also want to make the div with the background wider, on hover. So the other divs will be 30%, and the one on hover will be 40%.
Note. I do not want to rotate the image myself, just a div. The image should be positioned without rotation.
I can not do this with CSS.
My current code is:
<div class="divisions">
<div class="col-sm-4 division hosting">
<div class="inner">
</div>
</div>
<div class="col-sm-4 division shop">
<div class="inner">
</div>
</div>
<div class="col-sm-4 division solutions">
<div class="inner">
</div>
</div>
</div>
JSFiddle: https://jsfiddle.net/1cwxLw7h/2/
What I want:
