I'm looking to add a Linux-inspired command line interface to my HTML/CSS website. I've created a Span element and now I want to include a Textarea next to it for user input simulation. However, I'm struggling to remove the blinking caret in the textarea. Does anyone have any suggestions on how I can hide the caret?
Preferably, I'd like to achieve this using only HTML/CSS.
#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>