adjust css for blink images
This commit is contained in:
+1
-8
@@ -10,20 +10,13 @@ img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
#active {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#idle {
|
||||
#idle:not(.active) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#active.active{
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#idle.active{
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -6,13 +6,6 @@ body {
|
||||
--blink-time: 0.1;
|
||||
}
|
||||
|
||||
#active-blink,
|
||||
#idle-blink,
|
||||
#active.blink,
|
||||
#idle.blink {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#active-blink.blink.active,
|
||||
#idle-blink.blink:not(.active) {
|
||||
opacity: 1;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
@import url('basic.css');
|
||||
|
||||
#idle {
|
||||
#idle, #idle-blink {
|
||||
filter: brightness(50%);
|
||||
}
|
||||
Reference in New Issue
Block a user