S
S
Space2015-10-11 15:39:59
css
Space, 2015-10-11 15:39:59

How is the style constraint set up?

Sorry for the crooked title. In this template , the fields are very interestingly made. I pressed the field, the label moved up. I was able to implement it. But if I enter something in the field, the label will still return to its place and an overlay is obtained.

In the example at the link of this "artifact" is not. How can I fix this, where to dig? Is it at the css level or is it still on js (I deleted all js in principle and it still worked)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivanq, 2015-10-11
@Ivanq

I've tried in vain to do it in pure CSS, it didn't work. For me, you need to make different CSS classes with transitions, and then add and remove classes in JS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question