+ 1
How do we add a flipping quality to a div? Just like added in windows 8.......
4 ответов
+ 4
use CSS transition
<div class=tile onclicj=flip()></div>
<style>
.tile{
transition: transform 3s liner;
display:bloc k;
CSS to make a box}
</style>
<script>
flip(){
var tile=docement.querySelector("div");
tile.style.transform=' rotateX(90deg) ';
}
</script>
+ 4
yes transition whenever you change the CSS propert
the change is animated
+ 1
transition:??
+ 1
thanks for help.....