Ajax Loader
×
HTML
<div class="screen">
1
<div class="screen">
2
  <div id="display" class="display">
3
    <div class="buffer" style="filter: url(#displacement); -webkit-filter: url(#displacement);">In the beginning, there was man. And for a time, it was <a href="#">good</a>. But humanity's so-called civil societies soon fell victim to vanity and corruption. Then man made Internet Explorer. Thus did man become the architect of his own demise.</div>
4
  </div>
5
</div>
6
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
7
  <filter id="displacement" filterUnits="objectBoundingBox">
8
    <feImage result="dmap" xlink:href="http://i.imgur.com/ZRwGP4m.png" />
9
    <feDisplacementMap in="SourceGraphic" in2="dmap" scale="48" xChannelSelector="R" yChannelSelector="G" color-interpolation-filters="sRGB"></feDisplacementMap>
10
  </filter>
11
</svg>
 
CSS
@import url("//fonts.googleapis.com/css?family=VT323");
1
@import url("//fonts.googleapis.com/css?family=VT323");
2
* {
3
  margin: 0;
4
  font-family: "VT323", monospace;
5
  color: #8cff30;
6
}
7
body {
8
  font-size: 28px;
9
}
10
.screen {
11
  position: fixed;
12
  width: 100%;
13
  height: 100%;
14
  background: linear-gradient(-10deg, #181818, #050b05);
15
}
16
.display {
17
  width: 512px;
18
  height: 512px;
19
  overflow-y: auto;
20
  padding: 0;
21
  position: relative;
22
  top: 50vh;
23
  left: 50vw;
24
  transform: translate(-50%,-50%);
25
  box-sizing: border-box;
26
  background-image: linear-gradient(180deg, rgb(4,0,3), rgb(16,18,12));
27
  box-shadow: inset 0 0 2vmin #0F180F, 0 0 3vmin #0F180F;
28
}
29
.display:after {
30
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(12,16,3,1) 50%,  rgba(0,0,0,0) 100%),  url(http://media.giphy.com/media/daEjQKgKDFqxO/giphy.gif);
31
  background-size: 100% 0.5vh, cover;
32
  background-repeat: repeat;
33
  content: " ";
34
  display: block;
35
  height: 100%;
36
  left: 0;
37
  opacity: 0.08;
38
  position: absolute;
39
  top: 0;
40
  width: 100%;
41
}
42
.buffer {
43
  background-image: linear-gradient(0deg,#000,#010,#000);
44
  background-size: 100% 0.8%;
45
  box-sizing: border-box;
46
  height: 100%;
47
  left: -0.15em;
48
  overflow: hidden;
49
  padding: 0.5em;
50
  position: relative;
51
  top: -0.15em;
52
}
53
.buffer:after {
54
  left: 0;
55
  content: " ";
56
  background-color: rgba(192,255,192,0.02);
57
  box-shadow: 0 0 2em 0.5em rgba(0,0,0,0.4);
58
  display: block;
59
  height: 10vh;
60
  position: absolute;
61
  width: 100%;
62
  animation: shutter 4s reverse infinite linear;
63
}
64
@keyframes shutter {
65
    0% { top: -5em; }
66
  100% { top: 25em; }
67
}
68
.flashing {
69
  animation: glow 0.04s infinite;
70
}
71
@keyframes glow {
72
  0%   { text-shadow: 0 0 0.1vmin #8cff30; }
73
  50%  { text-shadow: 0 0 1vmin rgba(0, 255, 0, 0); }
74
  100% { text-shadow: 0 0 0.1vmax #8cff30; }
75
}
 

Untitled

CSSDeck G+