Ajax Loader
HTML
<html><head>
1
<html><head>
2
  <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
3
  
4
  <style type="text/css">
5
  </style>
6
  </head>
7
<body>
8
  <br>
9
<div id="header" class="ribbon">
10
             <h1><a>Pure CSS Ribbon Header</a></h1>
11
         </div>
12
  
13
</body>
14
</html>
 
CSS
 
1
 
2
 
3
#header h1 {
4
  font-size: 28px;
5
font-weight: 300;
6
font-family: 'open sans';
7
line-height: 54px;
8
letter-spacing: 3px;
9
height: 56px;
10
margin: 0;
11
display: inline-block;
12
 
13
-webkit-font-smoothing: antialiased;
14
 white-space:nowrap;
15
}
16
 
17
#header a {
18
  color:#fff;
19
  text-decoration:none;
20
}
21
 
22
 
23
.ribbon {
24
background-color:#16a085; /* bg color for center of ribbon */
25
  border:3px solid #eee; /*border color for center of ribbon */
26
  padding: 0 20px;
27
height: 56px;
28
display: inline-block;
29
position: relative;
30
margin-left: 56px;
31
margin-right: 56px;
32
}
33
 
34
 
35
 
36
.ribbon:before, .ribbon:after {
37
content: '.';
38
text-indent: -9999em;
39
height: 0;
40
width: 0;
41
border-style: solid;
42
border-width: 28px;
43
position: absolute;
44
left: -45px;
45
top: 10px;
46
display: block;
47
z-index: -1;
48
}
49
 
50
.ribbon:before {
51
border-color: #138a72 #138a72 #138a72 transparent; /*bg color for left side of ribbon */
52
 
53
}
54
 
55
.ribbon:after {
56
border-color: #138a72 transparent #138a72 #138a72; /* bg color for right side of ribbon */
57
right: -45px;
58
left: auto;
59
}
60
 
61
 
 
JavaScript
 
1
 
 

Pure Css Ribbon Header

CSSDeck G+