From f373649e0a5246d3feb78f33064c1f30a565dc0b Mon Sep 17 00:00:00 2001 From: mileswa1q2 <115095719+mileswolfallen2@users.noreply.github.com> Date: Tue, 12 Dec 2023 16:07:21 +0000 Subject: [PATCH] idk --- helow open/index.css | 153 ------------------ helow open/index.html | 6 - index.html | 2 +- text-animation.zip | Bin 0 -> 9951 bytes text-animation/text-animation/LICENSE.txt | 22 +++ text-animation/text-animation/README.md | 5 + text-animation/text-animation/dist/index.html | 31 ++++ text-animation/text-animation/dist/script.js | 1 + text-animation/text-animation/dist/style.css | 125 ++++++++++++++ text-animation/text-animation/src/index.html | 16 ++ text-animation/text-animation/src/script.js | 1 + text-animation/text-animation/src/style.scss | 153 ++++++++++++++++++ 12 files changed, 355 insertions(+), 160 deletions(-) delete mode 100644 helow open/index.css delete mode 100644 helow open/index.html create mode 100644 text-animation.zip create mode 100755 text-animation/text-animation/LICENSE.txt create mode 100755 text-animation/text-animation/README.md create mode 100755 text-animation/text-animation/dist/index.html create mode 100755 text-animation/text-animation/dist/script.js create mode 100755 text-animation/text-animation/dist/style.css create mode 100755 text-animation/text-animation/src/index.html create mode 100755 text-animation/text-animation/src/script.js create mode 100755 text-animation/text-animation/src/style.scss diff --git a/helow open/index.css b/helow open/index.css deleted file mode 100644 index a22b8790..00000000 --- a/helow open/index.css +++ /dev/null @@ -1,153 +0,0 @@ -body { - width: 100%; - height: 100%; - position: fixed; - background-color: #34495e; - } - - .content { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - height: 160px; - overflow:hidden; - - font-family: 'Lato', sans-serif; - font-size: 35px; - line-height: 40px; - color: #ecf0f1; - - &__container { - font-weight: 600; - overflow: hidden; - height: 40px; - padding: 0 40px; - - &:before { - content: '['; - left: 0; - } - - &:after { - content: ']'; - position: absolute; - right: 0; - } - - &:after, &:before { - position: absolute; - top: 0; - - color: #16a085; - font-size: 42px; - line-height: 40px; - - -webkit-animation-name: opacity; - -webkit-animation-duration: 2s; - -webkit-animation-iteration-count: infinite; - animation-name: opacity; - animation-duration: 2s; - animation-iteration-count: infinite; - } - - &__text { - display: inline; - float: left; - margin: 0; - } - - &__list { - margin-top: 0; - padding-left: 110px; - text-align: left; - list-style: none; - - -webkit-animation-name: change; - -webkit-animation-duration: 10s; - -webkit-animation-iteration-count: infinite; - animation-name: change; - animation-duration: 10s; - animation-iteration-count: infinite; - - &__item { - line-height:40px; - margin:0; - } - } - } - } - - @-webkit-keyframes opacity { - 0%, 100% {opacity:0;} - 50% {opacity:1;} - } - - @-webkit-keyframes change { - 0%, 12.66%, 100% {transform:translate3d(0,0,0);} - 16.66%, 29.32% {transform:translate3d(0,-25%,0);} - 33.32%,45.98% {transform:translate3d(0,-50%,0);} - 49.98%,62.64% {transform:translate3d(0,-75%,0);} - 66.64%,79.3% {transform:translate3d(0,-50%,0);} - 83.3%,95.96% {transform:translate3d(0,-25%,0);} - } - - @-o-keyframes opacity { - 0%, 100% {opacity:0;} - 50% {opacity:1;} - } - - @-o-keyframes change { - 0%, 12.66%, 100% {transform:translate3d(0,0,0);} - 16.66%, 29.32% {transform:translate3d(0,-25%,0);} - 33.32%,45.98% {transform:translate3d(0,-50%,0);} - 49.98%,62.64% {transform:translate3d(0,-75%,0);} - 66.64%,79.3% {transform:translate3d(0,-50%,0);} - 83.3%,95.96% {transform:translate3d(0,-25%,0);} - } - - @-moz-keyframes opacity { - 0%, 100% {opacity:0;} - 50% {opacity:1;} - } - - @-moz-keyframes change { - 0%, 12.66%, 100% {transform:translate3d(0,0,0);} - 16.66%, 29.32% {transform:translate3d(0,-25%,0);} - 33.32%,45.98% {transform:translate3d(0,-50%,0);} - 49.98%,62.64% {transform:translate3d(0,-75%,0);} - 66.64%,79.3% {transform:translate3d(0,-50%,0);} - 83.3%,95.96% {transform:translate3d(0,-25%,0);} - } - - @keyframes opacity { - 0%, 100% {opacity:0;} - 50% {opacity:1;} - } - - @keyframes change { - 0%, 12.66%, 100% {transform:translate3d(0,0,0);} - 16.66%, 29.32% {transform:translate3d(0,-25%,0);} - 33.32%,45.98% {transform:translate3d(0,-50%,0);} - 49.98%,62.64% {transform:translate3d(0,-75%,0);} - 66.64%,79.3% {transform:translate3d(0,-50%,0);} - 83.3%,95.96% {transform:translate3d(0,-25%,0);} - } - - // 6 is the number of animation. - // Here, there are 4 lines : - - // 1 to 2 - // 2 to 3 - // 3 to 4 - // 4 to 3 - // 3 to 2 - // 2 to 1 - - // 6x + 6y = 100 (100% duration) - - // HERE : - // y = 4 -> Animation between two lines - // x = 12.66 -> Time spent on a line - - // You can define a value and calculate the other if you want change speed or the number of lines \ No newline at end of file diff --git a/helow open/index.html b/helow open/index.html deleted file mode 100644 index d47e3968..00000000 --- a/helow open/index.html +++ /dev/null @@ -1,6 +0,0 @@ -
- See the Pen - Text animation by mileswolfallen2 (@mileswolfallen2-the-typescripter) - on CodePen. -
- \ No newline at end of file diff --git a/index.html b/index.html index 671a92fa..e8fa48e0 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@