Слияние кода завершено, страница обновится автоматически
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>happy 7th birthday to gitee</title>
<style>
.text {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
font-size: 5vw;
-webkit-animation-name: move;
animation-name: move;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out;
font-weight: bolder;
}
.text:nth-of-type(1) {
-webkit-animation-duration: 2s;
animation-duration: 2s;
-webkit-animation-delay: 0.55s;
animation-delay: 0.55s;
}
.text:nth-of-type(2) {
-webkit-animation-duration: 2s;
animation-duration: 2s;
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
}
.text:nth-of-type(3) {
-webkit-animation-duration: 2s;
animation-duration: 2s;
-webkit-animation-delay: 0.05s;
animation-delay: 0.05s;
}
.text:nth-of-type(4) {
-webkit-animation-duration: 2s;
animation-duration: 2s;
-webkit-animation-delay: -0.2s;
animation-delay: -0.2s;
}
@-webkit-keyframes move {
40%,
50% {
-webkit-transform: translate(-50%, -65%) scale(1.05);
transform: translate(-50%, -65%) scale(1.05);
}
0%,
90%,
100% {
-webkit-transform: translate(-50%, -45%) scale(0.95);
transform: translate(-50%, -45%) scale(0.95);
}
}
@keyframes move {
40%,
50% {
-webkit-transform: translate(-50%, -65%) scale(1.05);
transform: translate(-50%, -65%) scale(1.05);
}
0%,
90%,
100% {
-webkit-transform: translate(-50%, -45%) scale(0.95);
transform: translate(-50%, -45%) scale(0.95);
}
}
</style>
</head>
<body>
<div class='text' style='color: maroon;text-transform:uppercase'>happy 7th birthday to gitee</div>
<div class='text' style='color: red;text-transform:uppercase'>happy 7th birthday to gitee</div>
<div class='text' style='color: pink;text-transform:uppercase'>happy 7th birthday to gitee</div>
</body>
</html>
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )