Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- card_mod:
- style: |
- ha-card {
- border: 0px solid white;
- background: rgba(255, 255, 255, 0);
- padding: 0;
- box-shadow:
- 0px 0px 5px var(--neon-color),
- 0px 0px 5px var(--neon-color),
- 0px 0px 10px var(--neon-color),
- 0px 0px 10px var(--neon-color);
- position: relative;
- animation: neon-animation 2s infinite linear;
- --neon-color: red;
- }
- @keyframes neon-animation {
- 0% {
- box-shadow:
- 0px 0px 5px var(--neon-color),
- 0px 0px 5px var(--neon-color),
- 0px 0px 10px var(--neon-color),
- 0px 0px 10px var(--neon-color);
- }
- 30% {
- box-shadow:
- 0px 0px 20px var(--neon-color),
- 0px 0px 20px var(--neon-color),
- 0px 0px 25px var(--neon-color),
- 0px 0px 25px var(--neon-color);
- }
- 100% {
- box-shadow:
- 0px 0px 5px var(--neon-color),
- 0px 0px 5px var(--neon-color),
- 0px 0px 10px var(--neon-color),
- 0px 0px 10px var(--neon-color);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement