diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-07 20:37:36 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-07 20:37:36 +0800 |
| commit | c451d82ad7c46777e7499a8da2e5292090bbec72 (patch) | |
| tree | 9c774eecdd95261322f7e9e208ebef75f6449f8a | |
| parent | 6799c8773d3cca069958c4b0ac5c6928a4fd28ed (diff) | |
added load in animation
| -rw-r--r-- | index.html | 5 | ||||
| -rw-r--r-- | pages/info/about.html | 2 | ||||
| -rw-r--r-- | pages/repo/github/repos.html | 2 | ||||
| -rw-r--r-- | src/css/style.css | 26 |
4 files changed, 29 insertions, 6 deletions
@@ -19,7 +19,7 @@ <link rel="stylesheet" href="/src/css/style.css"> <link rel="stylesheet" href="/src/css/index.css"> </head> - <body> + <body class="animate reveal"> <!-- headers --> <div header page="Home"></div> @@ -33,7 +33,7 @@ <div class="text"> <h2>Hello! I am</h2> <object class="br"></object> - <h1 data-value="little black111" class="title animate bounce animation--delay-p3s hacktype">...............</h1> + <h1 data-value="little black111" class="title animate bounce animation--delay-p3s hacktype">littleblack111</h1> <object class="br"></object> <h2>welcome to my<br>website!</h2> </div> @@ -48,5 +48,6 @@ <script src="/src/js/tilt.conf.noglare.js"></script> <script src="/src/js/header.js"></script> <script src="/src/js/hacktype.js"></script> + </body> </html> diff --git a/pages/info/about.html b/pages/info/about.html index 087ab8f7..a8829aed 100644 --- a/pages/info/about.html +++ b/pages/info/about.html @@ -8,7 +8,7 @@ <link href="/src/css/about.css" rel="stylesheet"> <link rel="icon" href="https://avatars.githubusercontent.com/u/97672521" type="image/png"></link> </head> - <body> + <body class="animate reveal"> <!-- headers --> <div header page="About"></div> <!-- main page --> diff --git a/pages/repo/github/repos.html b/pages/repo/github/repos.html index f4c104f6..4a0f0fdc 100644 --- a/pages/repo/github/repos.html +++ b/pages/repo/github/repos.html @@ -13,7 +13,7 @@ <script src="/src/js/getrepo.js" defer></script> </head> -<body> +<body class="animate reveal"> <!-- headers --> <div header page="GhRepo"></div> diff --git a/src/css/style.css b/src/css/style.css index 7cf4fe51..880a4199 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -58,7 +58,7 @@ body { } @keyframes zoomIn { - 1% { + 0% { transform: scale(0.01); } 85% { @@ -70,7 +70,7 @@ body { } @keyframes zoomOut { - 1% { + 0% { transform: scale(1); } 100% { @@ -78,6 +78,23 @@ body { } } +@keyframes reveal { + 0% { + -webkit-filter: blur(32px); + -moz-filter: blur(32px); + -o-filter: blur(32px); + -ms-filter: blur(32px); + transform: scale(2); + } + 100% { + -webkit-filter: blur(0px); + -moz-filter: blur(0px); + -o-filter: blur(0px); + -ms-filter: blur(0px); + transform: scale(1); + } +} + /* animation: name duration timing-function delay iteration-count direction fill-mode; */ @@ -129,6 +146,11 @@ body { animation-name: zoomOut; } +.animate.reveal { + transition-timing-function: linear; + animation-name: reveal; +} + /* transition */ * { transition: all 0.3s; |
