S
S
Sergey750il2022-01-28 12:45:51
Layout
Sergey750il, 2022-01-28 12:45:51

How to lay out such a block with one input?

Good day. Is it possible to lay out such a block with one input?
61f3bb4897318976427293.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2022-01-28
@Sergey750il

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 question

Ask a Question

731 491 924 answers to any question