-
Notifications
You must be signed in to change notification settings - Fork 7
Warry/CSS-3D-flip-effect-for-iphone
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CSS : #flip { position: absolute; min-height: 460px; width: 320px; -webkit-perspective: 1000; background: #000; } #front, #back { background: #fff; position: absolute; top: 0; width: 100%; min-height: 100%; -webkit-backface-visibility: hidden; -webkit-transform-style: preserve-3d; -webkit-transition: all .5s ease-in-out; } #front { -webkit-transform: rotateY(0deg); } #back { -webkit-transform: rotateY(180deg); } div:target#flip #front { -webkit-transform: rotateY(-180deg); } div:target#flip #back { -webkit-transform: rotateY(0deg); } -- HTML <div id="flip"> <div id="front"> FRONT <p><a href="#flip">Flip to back !</a></p> </div> <div id="back"> BACK <p><a href="#">Flip to front !</a></p> </div> </div>
About
3D flip effect for iphone in pure CSS3 with animation (css transformation)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published