I'm in the middle of making a site that will showcase my graphic work. For one of the thumbnails of my work i've got it to do this
.example1:not:hover {
opacity:1;
-webkit-transition: all .15s linear;
-moz-transition: all .15s linear;
transform:rotate(-7deg);
-ms-transform:rotate(-7deg);
-webkit-transform:rotate(-7deg);
transition: transform 0.25s linear;
}
now, i want it to do
transform:rotate(7deg);
-ms-transform:rotate(7deg);
-webkit-transform:rotate(7deg);
when you take your mouse of the thumbnail The html of the thumbnail is
<div id ="maintext">
<img src="Images/example.png" class="example1" >
</div>
thanks all.