-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
always p-pulse #62
Comments
Hi @chadsteele , Actually reverse animation feature is not yet available. 😞 But, you can try this code, .pretty.p-pulse:not(.p-switch) input:not(:checked)~.state label:before {
animation: pulseBack 1s;
}
@keyframes pulseBack {
from {
box-shadow: 0 0 0 1.5em rgba(189,195,199,0);
}
to {
box-shadow: 0 0 0 0 #bdc3c7;
}
} |
Love it! Thank you! Works great for me. :)
…On Sun, Nov 18, 2018 at 10:54 PM Lokesh ***@***.***> wrote:
Hi @chadsteele <https://github.com/chadsteele> ,
Actually reverse animation feature is not yet available. 😞 But, you can
try this code,
.pretty.p-pulse:not(.p-switch) input:not(:checked)~.state label:before {
animation: pulseBack 1s;
}
@Keyframes pulseBack {
from {
box-shadow: 0 0 0 1.5em rgba(189,195,199,0);
}
to {
box-shadow: 0 0 0 0 #bdc3c7;
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AATNuvRhi_-VoKVZrz6sSxff3OG6u6ogks5uwkeQgaJpZM4YhH_O>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you @lokesh-coder - great tool!
Is there a way to get it to pulse on every click? I tried moving p-pulse from the parent class to the state, but it doesn't work...
The text was updated successfully, but these errors were encountered: