<input type="text">
input{
 caret-color: red;
 height: 30px;
 padding-left: 5px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.