Skip to content
Snippets Groups Projects
Commit 00f0ead5 authored by HouTeng Chan's avatar HouTeng Chan
Browse files

Update file home.html

parent 6015356b
No related branches found
No related tags found
No related merge requests found
Pipeline #494158 passed
......@@ -66,18 +66,20 @@
font-family: 'Parisienne', cursive;
color: #fa8072;
opacity: 0;
transition: opacity 2s ease-in-out;
transition: opacity 1s ease-in-out; /* 渐变速度加快 */
font-size: 3rem;
font-style: italic;
}
#first-block p {
font-family: 'Parisienne', cursive;
color: #fa8072;
opacity: 0;
transition: opacity 2s ease-in-out;
transition-delay: 2s;
transition: opacity 1.5s ease-in-out; /* 渐变速度加快 */
transition-delay: 1s; /* 保留渐变效果,但加快速度 */
font-size: 1.8rem;
text-align: center;
font-style: italic;
}
#first-block {
......@@ -265,7 +267,7 @@
firstBlockTitle.style.opacity = '1';
setTimeout(() => {
firstBlockContent.style.opacity = '1';
}, 2000);
}, 1000); // 渐变加快
}, 500);
}, 2000);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment