How to slide the text into an input in the hover?


I have an input with a fixed width, but sometimes the content exceeds the width of this input. Somewhere I saw a solution that by hovering the input the text inside the input slid to the end without changing the width of the field.

How do I do this?

asked by anonymous 12.07.2016 / 16:05

1 answer


If I understood correctly I could use a text-align:right and a transition:0.3s ease to make the text slide. Put this configuration in: Hover

26.07.2016 / 03:05