(Эффект падающего снега) Метка: отменено |
Нет описания правки Метка: отменено |
||
| Строка 10: | Строка 10: | ||
.snowflake { | .snowflake { | ||
position: | position: absolute; | ||
width: 10px; | |||
height: 10px; | |||
background-color: white; | |||
border-radius: 50%; | |||
animation: fall 5s infinite; | |||
animation: fall | |||
} | } | ||
@keyframes fall { | @keyframes fall { | ||
0% { transform: translateY(-100%); opacity: 1; } | |||
100% { transform: translateY(100vh); opacity: 0; } | |||
} | } | ||
Версия от 22:18, 22 декабря 2024
/* Hide title and edit tools on main page */
.page-Заглавная_страница .mw-body-header,
.page-Заглавная_страница .mw-body-footer {
display: none!important;
}
.page-Заглавная_страница .citizen-body-container {
margin: 0!important;
}
.snowflake {
position: absolute;
width: 10px;
height: 10px;
background-color: white;
border-radius: 50%;
animation: fall 5s infinite;
}
@keyframes fall {
0% { transform: translateY(-100%); opacity: 1; }
100% { transform: translateY(100vh); opacity: 0; }
}