Ajax Loader
×
HTML
<!doctype html>
1
<!doctype html>
2
<html lang="en">
3
<head>
4
    <meta charset="UTF-8">
5
    <title>Text</title>
6
    <link rel="stylesheet" href="style.css">
7
</head>
8
<body>
9
    <header>
10
        <span>1<span>2<span>3<span>4<span>5<span>6<span>7</span></span></span></span></span></span></span>
11
    </header>  
12
</body>
13
</html>
 
CSS
body{
1
body{
2
    background: #e5e5e5;
3
}
4
header{
5
    height: 128px;
6
    width: 80%;
7
    margin: 100px auto 0 auto;
8
    text-align: center;
9
    font-size: 48px;
10
    line-height: 128px;
11
    background: #fff;
12
    -webkit-border-radius: 2px;
13
    -moz-border-radius: 2px;
14
    border-radius: 2px;
15
    overflow: hidden;
16
    box-shadow: 0 2px 5px -3px black;
17
}
18
header span{
19
    display: inline-block;
20
    padding: 0 4px;
21
    -webkit-transform: scale(3);
22
    color: transparent;
23
    -webkit-transition: -webkit-transform 2s ease, color 2s ease; 
24
}
25
header:hover span{
26
    -webkit-transform: scale(1); 
27
    color: black
28
}
 

Untitled

CSSDeck G+