Ajax Loader
×
HTML
<div class="container">
1
<div class="container">
2
  
3
  <!-- Slide Up -->
4
  <div class="image revealUpFull">
5
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
6
    <span class="title">Caption</span>
7
  </div>
8
  
9
  <!-- Slide Up Full -->
10
  <div class="image revealUpFull">
11
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
12
    <span class="title">Caption</span>
13
  </div>
14
  
15
  <!-- Slide Down -->
16
  <div class="image revealUpFull">
17
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
18
    <span class="title">Caption</span>
19
  </div>
20
  
21
  <!-- Slide Down Full -->
22
  <div class="image revealUpFull">
23
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
24
    <span class="title">Caption</span>
25
  </div>
26
  
27
  <!-- Slide Left -->
28
  <div class="image revealUpFull">
29
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
30
    <span class="title">Caption</span>
31
  </div>
32
  
33
  <!-- Slide Right -->
34
  <div class="image revealUpFull">
35
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
36
    <span class="title">Caption</span>
37
  </div>
38
  
39
  <!-- Slide Bottom Right -->
40
  <div class="image revealUpFull">
41
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
42
    <span class="title">Caption</span>
43
  </div>
44
  
45
  <!-- Slide Bottom Left -->
46
  <div class="image revealUpFull">
47
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
48
    <span class="title">Caption</span>
49
  </div>
50
  
51
  <!-- Slide Top Right -->
52
  <div class="image revealUpFull">
53
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
54
    <span class="title">Caption</span>
55
  </div>
56
  
57
  <!-- Slide Top Left -->
58
  <div class="image revealUpFull">
59
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
60
    <span class="title">Caption</span>
61
  </div>
62
  
63
  <!-- Reveal Up Half -->
64
  <div class="image revealUpFull">
65
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
66
    <span class="title">Caption <br / ><br / > with some more info</span>
67
  </div>
68
      
69
  <!-- Reveal Up Full -->
70
  <div class="image revealUpFull">
71
    <img src="http://cssdeck.com/uploads/media/items/8/8NNM3Tc.png" width="150px" height="150px" />
72
    <span class="title">Caption <br / ><br / > with some more info</span>
73
  </div>
74
</div>
 
CSS
body {
1
body {
2
  font-family: 'Lucida Grande', 'Helvetica Neue', sans-serif;
3
  font-size: 13px;
4
}
5
 
6
div.container {
7
  margin: 50px auto;
8
  width: 675px;
9
}
10
 
11
div.image {
12
  position: relative;
13
  overflow: hidden;
14
  width: 150px;
15
  height: 150px;
16
  display: inline-block;
17
  margin-right: 15px;
18
  margin-bottom: 15px;
19
}
20
 
21
img {
22
  position: absolute;
23
  left: 0;
24
  top: 0;
25
  
26
  -webkit-transition: all .3s ease-out;
27
  -moz-transition: all .3s ease-out;
28
  -ms-transition: all .3s ease-out;
29
  -o-transition: all .3s ease-out;
30
  transition: all .3s ease-out;
31
}
32
 
33
span.title {
34
  width: 150px;
35
  height: 20px;
36
  position: absolute;
37
  background: rgba(30,30,30,0.9);
38
  text-align: center;
39
  padding: 5px 0 4px;
40
  font-size: 14px;
41
  color: white;
42
  font-family: "Lucida Sans", "Trebuchet MS", Arial, sans-serif;
43
  
44
  -webkit-transition: all .3s ease-out;
45
  -moz-transition: all .3s ease-out;
46
  -ms-transition: all .3s ease-out;
47
  -o-transition: all .3s ease-out;
48
  transition: all .3s ease-out;
49
  
50
}
51
 
52
/* REVEAL UP FULL */
53
 
54
div.image.revealUpFull span { 
55
  height: 141px;
56
  width: 150px;
57
  bottom: -120px;
58
}
59
 
60
div.image.revealUpFull:hover img {
61
  top: -150px;
62
}
63
 
64
div.image.revealUpFull:hover span {
65
  bottom: 0px;
66
}
 

Simple Gallery

CSSDeck G+