This commit is contained in:
Alexander 2023-02-05 23:42:29 +00:00
parent 7fff886687
commit c4bf22ff84
1 changed files with 62 additions and 0 deletions

62
simple_cursor.css Normal file
View File

@ -0,0 +1,62 @@
html {
background: #111;
}
body {
color: #090;
width: 600px;
margin: 50px auto;
font-family: Courier New, Courier, monospace;
font-size: 14px;
font-weight: bold;
line-height: 16px;
-webkit-font-smoothing: antialiased;
}
a:link { color:lightgreen }
a:visited { color:darkgreen }
i { color:lightgreen }
span.cursor {
display: inline-block;
background: #111;
margin-left: 1px;
-webkit-animation: blink 2s linear 0s infinite;
-moz-animation: blink 2s linear 0s infinite;
-ms-animation: blink 2s linear 0s infinite;
-o-animation: blink 2s linear 0s infinite;
}
@-webkit-keyframes blink {
0% { background: #0a0 }
47% { background: #090 }
50% { background: #000 }
97% { background: #000 }
100% { background: #090 }
}
@-moz-keyframes blink {
0% { background: #0a0 }
47% { background: #090 }
50% { background: #000 }
97% { background: #000 }
100% { background: #090 }
}
@-ms-keyframes blink {
0% { background: #0a0 }
47% { background: #090 }
50% { background: #000 }
97% { background: #000 }
100% { background: #090 }
}
@-o-keyframes blink {
0% { background: #0a0 }
47% { background: #090 }
50% { background: #000 }
97% { background: #000 }
100% { background: #090 }
}