Answer the question
In order to leave comments, you need to log in
How to use animate.css on :before elements?
Hello, I'm animating elements using animate.css and js like this:
$(document).ready(function(){
$('.header_container_fixed').addClass('animated fadeInLeft');
});
but for elements :before doesn't work, how can one use ?
Answer the question
In order to leave comments, you need to log in
Doesn't work because it's not provided. Duplicate classes from animate.css for pseudo-elements yourself
.animated__before::before {
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question