April 2, 201412 yr I'm trying to get some CSS3 features to work on my site. I want the span=gallery to rotate and flip to reveal the word class=back. <nav id="top"> <ul> <li><span class="gallery"><a href="">gallery</a></span><div class="back"><a class=link_a>Art</a><a class=link_b>Art2</a></div></li> .gallery {font-size:3em;-webkit-transform:rotateX(-180deg);-webkit-transition: all .4s ease-in-out;-webkit-transform-style:preserve-3d;} /*.gallery .back {-webkit-transform-style: preserve-3d;-webkit-perspective: 600px;-webkit-transition: all .4s ease-in-out;}*/ .back {font-size:3em;color:orange;position:relative;bottom:45px;right:17px;-webkit-transform: rotateX(-180deg);position:absolute;}
April 2, 201412 yr Author .gallery {font-size:3em;} .gallery a {color:blue;-webkit-transform-style: preserve-3d;-webkit-perspective: 600px;} /*.gallery .back {-webkit-transform-style: preserve-3d;-webkit-perspective: 600px;-webkit-transition: all .4s ease-in-out;}*/ .back {font-size:3em;color:orange;position:relative;bottom:45px;right:17px;position:absolute;} Update !
Create an account or sign in to comment