A Pen by Pedro Gonçalves on CodePen.
Created
August 22, 2019 16:12
-
-
Save pedrokermitgoncalves/6e81499970d2dbf619eb9dc1ad110b70 to your computer and use it in GitHub Desktop.
BaBpKmg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input | |
type="text" | |
value="Mollis penatibus efficitur egestas condimentum ridiculus magna vestibulum ipsum nulla" | |
onfocus="moveCursorToEnd(this);" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
padding: 10px; | |
text-overflow: ellipsis; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment