I
I
iminby2017-10-14 14:03:58
CMS
iminby, 2017-10-14 14:03:58

:after not firing on :focus on input?

.wpcf7-form-control-wrap:after {
    content: '';
    display: block;
    margin: auto;
    height: 1px;
    width: 0%;
    position: absolute;
    bottom: -12px;
    left: 7px;
  background: transparent;
  transition: width .8s ease-in-out, background-color .8s ease-in-out;
}
.wpcf7-form-control-wrap:focus:after {
  width: 100%;
  background: #fec900;
}

I click on the form window, and for some reason it does not pop up.
Everything seems to be correct in this code.
this style is given by inputu.
Without a pseudo-class, it appears as soon as I remove the width, put it on focus, fucking does not appear
relative is set.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Yamchuk, 2017-10-14
@iminby

after input

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question