Mimicking the CRTs of 70th
Created
August 23, 2016 16:59
-
-
Save SynCap/b5d9502329bbb18d483b203d2a658dd9 to your computer and use it in GitHub Desktop.
Oldtimer Terminal with blinking cursor in CSS3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.terminal. | |
Dedicated to memory of | |
#[b.nobr "EC-ЭBM 70"]. | |
#[br]#[br] | |
Do you really remember | |
80th in USSR? [Y/n] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding: 5% 20%; | |
} | |
.nobr { | |
white-space: nowrap; | |
} | |
.terminal { | |
border-radius: 2em / 3em; | |
padding: 2em; | |
background-color: #000; | |
font-size: 24pt; | |
font-weight: 700; | |
color: #0c0; | |
text-shadow: 0 0 15px; | |
text-align: center; | |
font-family: 'Courier New', monospased; | |
&:after | |
{ | |
content: '\258b'; | |
animation: 1.4s blink step-end infinite; | |
} | |
} | |
@keyframes "blink" { | |
from, to { | |
color: transparent; | |
} | |
50% { | |
color: #0c0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment