So I am currently developing a terminal like website where you put in a command and something happens. This is what my CSS and HTML files looks like...
p {
color: white;
font-family: fixedsys, LucidaTerminal, monospace
}
.blink_text {
-webkit-animation-name: blinker;
-webkit-animation-duration: 1s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-moz-animation-name: blinker;
-moz-animation-duration: 1s;
-moz-animation-timing-function: linear;
-moz-animation-iteration-count: infinite;
animation-name: blinker;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
color: white;
}
@-moz-keyframes blinker {
0% {
opacity: 1.0;
}
50% {
opacity: 0.0;
}
100% {
opacity: 1.0;
}
}
@-webkit-keyframes blinker {
0% {
opacity: 1.0;
}
50% {
opacity: 0.0;
}
100% {
opacity: 1.0;
}
}
@keyframes blinker {
0% {
opacity: 1.0;
}
50% {
opacity: 0.0;
}
100% {
opacity: 1.0;
}
}
<!DOCTYPE html>
<head>
<link rel="stylesheet" type="text/css" href="interface.css">
</head>
<body style="background-color:black;">
<p style="display:inline">~/Link/Hydrogen/Helium/Lithium></p>
<span class="blink_text">_</span>
</body>