Home  >  Article  >  Web Front-end  >  Text 3D flipping effect based on css3_html/css_WEB-ITnose

Text 3D flipping effect based on css3_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:49:491335browse

A text 3D flipping effect based on css3. This special effect 3D flips and displays a shadow when the mouse passes over the text. The renderings are as follows:

Online preview Source code download

Implemented code.

html code:

<div class="component">            <ul class="grid">                <li>                    <div class="codrops-header">                        <h1>                            Animated Opening Type</h1>                    </div>                </li>                <li class="ot-letter-left"><span data-letter="C">C</span></li>                <li class="ot-letter-top"><span data-letter="J">J</span></li>                <li class="ot-letter-right"><span data-letter="8">8</span></li>                <li class="ot-letter-bottom"><span data-letter="A">A</span></li>                <li class="ot-letter-left"><span data-letter="O">O</span></li>                <li class="ot-letter-left"><span data-letter="Q">Q</span></li>                <li class="ot-letter-right"><span data-letter="S">S</span></li>                <li class="ot-letter-left"><span data-letter="B">B</span></li>                <li class="ot-letter-top"><span data-letter="L">L</span></li>                <li class="ot-letter-right"><span data-letter="T">T</span></li>                <li class="ot-letter-left"><span data-letter="K">K</span></li>                <li class="ot-letter-top"><span data-letter="S">S</span></li>                <li class="ot-letter-left"><span data-letter="Z">Z</span></li>                <li class="ot-letter-top"><span data-letter="3">3</span></li>                <li class="ot-letter-right"><span data-letter="D">D</span></li>                <li class="ot-letter-bottom"><span data-letter="I">I</span></li>                <li class="ot-letter-right"><span data-letter="H">H</span></li>                <li class="ot-letter-bottom"><span data-letter="Q">Q</span></li>                <li class="ot-letter-right"><span data-letter="E">E</span></li>                <li class="ot-letter-left"><span data-letter="A">A</span></li>                <li class="ot-letter-top"><span data-letter="P">P</span></li>                <li class="ot-letter-right"><span data-letter="F">F</span></li>                <li class="ot-letter-left"><span data-letter="S">S</span></li>                <li class="ot-letter-top"><span data-letter="K">K</span></li>                <li class="ot-letter-left"><span data-letter="U">U</span></li>                <li class="ot-letter-top"><span data-letter="L">L</span></li>                <li class="ot-letter-right"><span data-letter="6">6</span></li>                <li class="ot-letter-bottom"><span data-letter="R">R</span></li>                <li class="ot-letter-left"><span data-letter="O">O</span></li>                <li class="ot-letter-bottom"><span data-letter="V">V</span></li>                <li class="ot-letter-right"><span data-letter="S">S</span></li>                <li class="ot-letter-left"><span data-letter="Q">Q</span></li>                <li class="ot-letter-top"><span data-letter="J">J</span></li>                <li class="ot-letter-right"><span data-letter="G">G</span></li>                <li class="ot-letter-left"><span data-letter="R">R</span></li>            </ul>        </div>

via: http://www.w2bc.com/Article/20004

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Using IntraWeb (4)Next article:Using IntraWeb (4)