Answer the question
In order to leave comments, you need to log in
How to lay out such a block with one input?
Good day. Is it possible to lay out such a block with one input?
Answer the question
In order to leave comments, you need to log in
The answer is no, this problem cannot be solved with one input. Making a "non-disappearing placeholder" is possible only when using other elements, and the input cannot have pseudo-content, so you have to add a span.
https://jsfiddle.net/alexey_m_ukolov/ed8j6k0w/8/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question