2022-09-29 04:35:33 +03:00
|
|
|
:root {
|
2022-12-22 04:36:36 +03:00
|
|
|
--fg-color: blue;
|
|
|
|
--fg-\c olor-other: blue;
|
2022-10-11 07:31:17 +03:00
|
|
|
--Foo: blue;
|
2022-09-29 04:35:33 +03:00
|
|
|
}
|
|
|
|
.box {
|
2022-12-22 04:36:36 +03:00
|
|
|
background-color: rebeccapurple;
|
|
|
|
background-color: var(--fg-color);
|
2022-09-29 04:35:33 +03:00
|
|
|
border-radius: 10px;
|
2022-12-22 04:36:36 +03:00
|
|
|
width: 100px;
|
2022-09-29 04:35:33 +03:00
|
|
|
height: 100px;
|
|
|
|
}
|
2022-12-22 04:36:36 +03:00
|
|
|
.box:hover {
|
2022-09-29 04:35:33 +03:00
|
|
|
animation-name: rotate\ rotate;
|
|
|
|
animation-duration: 0.7s;
|
|
|
|
}
|
2022-12-22 04:36:36 +03:00
|
|
|
@keyframes rotate\ rotate {
|
2022-09-29 04:35:33 +03:00
|
|
|
0% {
|
2022-12-22 04:36:36 +03:00
|
|
|
transform: rotate(0);
|
2022-09-29 04:35:33 +03:00
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
2022-12-22 04:36:36 +03:00
|
|
|
@keyframes rotate {
|
2022-09-29 04:35:33 +03:00
|
|
|
0% {
|
2022-12-22 04:36:36 +03:00
|
|
|
transform: rotate(0);
|
2022-09-29 04:35:33 +03:00
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
2022-12-22 04:36:36 +03:00
|
|
|
@keyframes rotat\e {
|
2022-09-29 04:35:33 +03:00
|
|
|
0% {
|
2022-12-22 04:36:36 +03:00
|
|
|
transform: rotate(0);
|
2022-09-29 04:35:33 +03:00
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*|* {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
\*|* {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 0\0) {
|
|
|
|
body {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
body {
|
2022-12-22 04:36:36 +03:00
|
|
|
margin: -\1 px;
|
2022-09-29 04:35:33 +03:00
|
|
|
}
|