Ajax Loader
×
HTML
<link class="cssdeck" rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.min.css">
1
<link class="cssdeck" rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.min.css">
2
<div id="social">
3
  
4
  <section data-x="-100" data-y="500" data-template="icons">
5
    
6
    <h1>Willkommen</h1>
7
        
8
    <section>
9
      <i class="fa fa-twitter"></i><br>
10
      Webdesign
11
    </section>
12
    
13
    <section>
14
      <i class="fa fa-github"></i><br>
15
          Printdesign
16
    </section>
17
    
18
    <section>
19
      <i class="fa fa-pinterest"></i><br>
20
      Programmierung
21
    </section>
22
    
23
    <section>
24
      <i class="fa fa-instagram"></i><br>
25
      80€/Mtl</section>
26
    </section>
27
    
28
    <section>
29
      <i class="fa fa-youtube-play"></i><br>
30
      youtube
31
    </section>
32
    
33
    <section>
34
      <i class="fa fa-dribbble"></i><br>
35
      dribbble
36
    </section>
37
    
38
    <section>
39
      <i class="fa fa-code"></i><br>
40
      codepen.io
41
    </section>
42
    
43
    <section>
44
      <i class="fa fa-facebook"></i><br>
45
      facebook
46
    </section>
47
    
48
    <section>
49
      <i class="fa fa-google-plus"></i><br>
50
      google-plus
51
    </section>
52
        
53
  </section>
54
  
55
</div>
56
 
57
 
58
<script class="cssdeck" src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
59
 
60
<script src="//cdnjs.cloudflare.com/ajax/libs/jmpress/0.4.5/jmpress.all.min.js"></script>
61
 
 
CSS
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,100);
1
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,100);
2
 
3
body{
4
  text-align:center;
5
  font-family:sans-serif;
6
  height:200px!important;
7
}
8
 
9
.hint{
10
  color:#111;
11
}
12
 
13
section{
14
  font-size: 2em;
15
  text-align: center;
16
  color:#111;  
17
  font-family: 'Roboto', sans-serif;
18
  font-weight:100;
19
}
20
 
21
section i{
22
  font-size: 1.9em;
23
  color:#960c66;
24
  margin-bottom:.2em;
25
}
26
 
27
 
28
h2 a{
29
  color:#ff0066;
30
  text-decoration:none;
31
}
 
JavaScript
$(function() {
1
$(function() {
2
 
3
  $.jmpress('template', 'icons', {
4
    children: function(idx) {
5
      return {r: 2500, phi: idx*40, rotateY: idx*140, scale: 0.5, rotateX: 9};
6
    }
7
  });
8
 
9
  var config = {
10
    stepSelector: 'section',
11
    viewPort: {
12
      width: 1300,
13
      maxScale: 1
14
    },
15
    duration: {
16
      defaultValue: 2000//autoplay
17
    }
18
  };
19
 
20
  $('#social').jmpress(config);
21
 
22
});
 

innen_v3

CSSDeck G+