I would like to add a linux style command line to my HTML/CSS site. I made a Span and would like to put a Textarea next to it to simulate the input. But I can't get rid of the blinking "cursor" (the straight line) in the Textarea. Does anyone know how I can hide the "Cursor"?
I want to do it in HTML/CSS only if it's possible.
#name {
position: absolute;
left: 0;
width: 100%;
padding: 5%;
color: rgb(0, 255, 0);
/*text-align: center;*/
font-family: "Lucida Console";
font-size: 50pt;
}
blink {
animation: blink 1.2s infinite;
}
@keyframes blink {
0% {
visibility: hidden;
}
40% {
visibility: hidden;
}
50% {
visibility: visible;
}
90% {
visibility: visible;
}
100% {
visibility: hidden;
}
}
<div id="name"><span>nicolo@luescher:~$<blink>_</blink></span></div>