CodingTrain / CodingTrain/Oregon-Trail
Another way to make a blinking block caret
Open
- Dominant language
- JavaScript
- Stars
- 34
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Edited: Disregard - most browsers won't support this solution anyway.
I was looking into the input.js source and there is actually an easier way to do that in CSS by modifying the caret: shape value and setting it to "block" instead. Either way works but maybe (?) the CSS way wouldn't look as confusing?
see: https://css-tricks.com/almanac/properties/c/caret-shape/
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.