About the problem:
The link is the inVision design of an input element with custom css styles.
As you can see, its border is removed except the bottom line and the cursor/blinker looks pretty thick.
Here's what I have done so far.
<input class="custom-input" />
.custom-class {
border: none;
border-bottom: #eee solid 3px;
line-height: 2;
font-size: 36px;
text-align: center;
caret-color: #231F20;
}
What is missing so far is that the blinker is still an ordinary one. I have gone through research to find answers. There are a bunch of articles and StackOverflow answers for caret-color but none of them answers how to change the thickness of it.
Also, there is a codepen demo for using a span
element by enabling the content to be editable.
But my question is "Is there a solution with only css styles after all the days of evolution in modern css?"
Thanks in advance.
PS. I am not looking for caret-color
property solutions. I am talking about the thickness of the blinker specifically.