-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
How to achieve glow effect? #110
Comments
the css variable base_config:
preset: mushroom
state_styles:
'on':
button:
'-webkit-box-shadow': 0 0 0.95rem 0.2rem rgb(var(--pbs-button-rgb-state-color))
box-shadow: 0 0 0.95rem 0.2rem rgb(var(--pbs-button-rgb-state-color))
transition: all 2s ease |
Thank you very much, Josh @jcwillox! That works perfectly! And also thanks for the CSS explanation! Can you please add a short example how to implement this as a preset for the raw configuration editor? Unfortunately, I am not able to get this working as well (while other presets for the button card do work).
Just putting the
Thank you! |
I am trying to implement a glow effect which perfectly works with the Button Card (source see here).
So far, I was not able to transfer it to the Paper Buttons Row to achieve the same glow effect. For example, this
base_config
does not work:Can someone help me with this, please?
The text was updated successfully, but these errors were encountered: