diff --git a/README.md b/README.md index 3d45b50..c1c4043 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,4 @@ You Can Add This Add-ons To The Design - JavaScript Countdown => https://youtu.be/eFsiOTJrrE8 - Animate Width On Scrolling => https://youtu.be/sbIoIKI9FOc - Increase Numbers On Scrolling => https://youtu.be/PLsUdgLnzgQ +- Add Scroll To Up => https://youtu.be/9u1sj176W4o \ No newline at end of file diff --git a/css/elzero.css b/css/elzero.css index 26eefa6..c362734 100644 --- a/css/elzero.css +++ b/css/elzero.css @@ -1510,6 +1510,16 @@ ul { border-top: 1px solid #444; } /* End Footer */ +.arrow-up{ + color: var(--main-color); + position: fixed; + right: 15px; + bottom: 20px; + font-size: 18px; + cursor: pointer; + transition: var(--main-transition); + animation: up-down-arrow .5s infinite alternate ; +} /* Start Animation */ @keyframes up-and-down { 0%, @@ -1585,4 +1595,12 @@ ul { background-image: url("../imgs/discount-background2.jpg"); } } +@keyframes up-down-arrow { + from{ + transform: translateY(0);; + } + to{ + transform: translateY(10px); + } +} /* End Animation */ diff --git a/index.html b/index.html index 2ebbd17..a115747 100644 --- a/index.html +++ b/index.html @@ -908,6 +908,7 @@
Made With <3 By Elzero
+