reworked structure

This commit is contained in:
2020-01-25 20:23:41 +01:00
parent 7292149022
commit 5e70fd84bf
6 changed files with 79 additions and 74 deletions

View File

@@ -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;
}