16 loading animations implemented in pure CSS3_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:43:05
Original
1719 people have browsed it

Sharing 16 loading animations implemented in pure CSS3. This is a practical CSS3 loading animation code that can replace GIF format images. The renderings are as follows:

Online preview Source code download

Implemented code.

html code:

 <div class="grid">        <div class="cell">            <div class="card">                <span class="spinner-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="throbber-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="refreshing-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="heartbeat-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="gauge-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="timer-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="three-quarters-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="wobblebar-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="atebits-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="whirly-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="flower-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="dots-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="circles-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="plus-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="ball-loader">Loading&#8230;</span>            </div>        </div>        <div class="cell">            <div class="card">                <span class="hexdots-loader">Loading&#8230;</span>            </div>        </div>    </div>
Copy after login

css code:

        body        {            background: #f3f6f9;            font-family: sans-serif;            font-weight: 100;            font-size: 14px;            margin: 0;            padding: 20px;        }        .grid        {            overflow: hidden;        }        .cell        {            float: left;            width: 25%;            box-sizing: border-box;            padding: 20px;            display: table;        }        .card        {            background: white;            border: 1px solid #c3c6cf;            border-radius: 15px;            display: table-cell;            text-align: center;            vertical-align: middle;            height: 200px;        }    </style>
Copy after login

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!