Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
.example1 {
  caret-color: red;
}
.example2 {
  caret-color: transparent;
}
</style>
</head>
<body>
<h1>The caret-color Property</h1>
<input value="Default caret color"><br><br>
<input class="example1" value="Custom caret color"><br><br>
<input class="example2" value="Transparent caret color">
<p contenteditable class="example1">This paragraph can be edited. Its caret has a custom color as well.</p>
</body>
</html>