06.02.2018, 16:18
(06.02.2018, 16:13)toujour Wrote: HI,Hi
what is the way to create a blinking icon ?
CSS ?
Do you have an example for me ?
I'm looking for a logic that blink an icon when the knx address is true.
Something as the code below....is it right ?
Code:/* Blink for Webkit and others
(Chrome, Safari, Firefox, IE, ...)
*/
@-webkit-keyframes blinker {
from {opacity: 1.0;}
to {opacity: 0.0;}
}
.blink{
text-decoration: blink;
-webkit-animation-name: blinker;
-webkit-animation-duration: 0.6s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-timing-function:ease-in-out;
-webkit-animation-direction: alternate;
}
Regards,
Alberto
Why din't you make gif icon which will be blinking and just add it for ON state.
BR
------------------------------
Ctrl+F5
Ctrl+F5