home/css/cursor.css

26 lines
448 B
CSS
Raw Normal View History

2022-01-12 23:24:24 +08:00
#cursor {
position: fixed;
width: 18px;
height: 18px;
background: #ffffffcc;
border-radius: 8px;
2022-01-12 23:24:24 +08:00
opacity: 0.25;
2022-05-22 13:50:08 +08:00
z-index: 99999999;
2022-01-12 23:24:24 +08:00
pointer-events: none;
transition: 0.2s ease-in-out;
transition-property: background, opacity, transform;
}
#cursor.hidden {
opacity: 0;
}
#cursor.hover {
opacity: 0.1;
2022-05-29 19:39:58 +08:00
/* transform: scale(1.2); */
2022-01-12 23:24:24 +08:00
}
#cursor.active {
opacity: 0.5;
transform: scale(0.5);
}