reworked structure
This commit is contained in:
@@ -139,22 +139,18 @@ http://aleclownes.com/2017/02/01/crt-display.html
|
||||
text-shadow: 2.6208764473832513px 0 1px rgba(0,30,255,0.1), -2.6208764473832513px 0 1px rgba(255,0,80,0.2), 0 0 3px;
|
||||
}
|
||||
}
|
||||
.crt::after {
|
||||
|
||||
.crt-flicker {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: auto;
|
||||
left: auto;
|
||||
bottom: auto;
|
||||
right: auto;
|
||||
pointer-events: none;
|
||||
animation: flicker 3s infinite;
|
||||
background: rgba(18, 16, 16, 0.1);
|
||||
opacity: 0;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
animation: flicker 3s infinite;
|
||||
width: 640px;
|
||||
height: 480px;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
.crt::before {
|
||||
content: " ";
|
||||
display: block;
|
||||
@@ -168,6 +164,15 @@ http://aleclownes.com/2017/02/01/crt-display.html
|
||||
width: 640px;
|
||||
height: 480px;
|
||||
}
|
||||
.crt {
|
||||
*/
|
||||
.crt{
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
.crt-shadow {
|
||||
animation: textShadow 5s infinite;
|
||||
}
|
Reference in New Issue
Block a user