I want to know if there is a way to rotate images without using fotoshop, i want to use css or javascript

The result that im looking for is [here](https://graphicdesign.stackexchange.com/questions/40931/how-can-you-convert-a-2d-image-into-a-rotating-3d-image-using-photoshop-cs5-exte)

The following solution works but i want to rotate my image without hover property , if i remove the hover here the image dont rotate

```
<style>

#card img:hover {
transform: rotateY(360deg);
-webkit-transform: rotateY(180deg);
transition-duration: 1.5s;
-webkit-transition-duration:1s;
}
</style>

```

if found the efect that i want here [here](http://thewebrocks.com/demos/3D-css-tester/)