|
36 | 36 |
|
37 | 37 | preloader.addEventListener("animationend", function () {
|
38 | 38 | preloader.style.display = "none";
|
39 |
| - mainContent.classList.remove("hidden"); |
40 |
| - }); |
| 39 | + mainContent.classList.remove("hidden"); |
| 40 | + }); |
41 | 41 | });
|
42 | 42 | </script>
|
43 | 43 | <div id="preloader" class="position-fixed top-0 start-0 w-100 preloader-wrapper">
|
44 | 44 | <div class="d-flex justify-content-center h-100 align-items-center">
|
45 |
| - <div class="preloader"> |
| 45 | + <!-- <div class="preloader "> |
46 | 46 | <div class="circle"></div>
|
47 | 47 | <div class="circle"></div>
|
48 | 48 | <div class="circle"></div>
|
49 |
| - </div> |
| 49 | + </div> --> |
| 50 | + <div class="preloader2 "></div> |
50 | 51 | </div>
|
51 | 52 | </div>
|
| 53 | + |
| 54 | + <style> |
| 55 | + .preloader2 { |
| 56 | + --uib-size: 80px; |
| 57 | + --uib-color: rgb(255, 255, 255); |
| 58 | + --uib-speed: 1.4s; |
| 59 | + --uib-stroke: 5px; |
| 60 | + --uib-bg-opacity: .1; |
| 61 | + position: relative; |
| 62 | + display: flex; |
| 63 | + align-items: center; |
| 64 | + justify-content: center; |
| 65 | + height: var(--uib-stroke); |
| 66 | + width: var(--uib-size); |
| 67 | + border-radius: calc(var(--uib-stroke) / 2); |
| 68 | + overflow: hidden; |
| 69 | + transform: translate3d(0, 0, 0); |
| 70 | + } |
| 71 | + |
| 72 | + .preloader2::before { |
| 73 | + content: ''; |
| 74 | + position: absolute; |
| 75 | + top: 0; |
| 76 | + left: 0; |
| 77 | + height: 100%; |
| 78 | + width: 100%; |
| 79 | + background-color: var(--uib-color); |
| 80 | + opacity: var(--uib-bg-opacity); |
| 81 | + transition: background-color 0.3s ease; |
| 82 | + } |
| 83 | + |
| 84 | + .preloader2::after { |
| 85 | + content: ''; |
| 86 | + height: 100%; |
| 87 | + width: 100%; |
| 88 | + border-radius: calc(var(--uib-stroke) / 2); |
| 89 | + animation: zoom var(--uib-speed) ease-in-out infinite; |
| 90 | + transform: translateX(-100%); |
| 91 | + background-color: var(--uib-color); |
| 92 | + transition: background-color 0.3s ease; |
| 93 | + } |
| 94 | + |
| 95 | + @keyframes zoom { |
| 96 | + 0% { |
| 97 | + transform: translateX(-100%); |
| 98 | + } |
| 99 | + |
| 100 | + 100% { |
| 101 | + transform: translateX(100%); |
| 102 | + } |
| 103 | + } |
| 104 | + </style> |
| 105 | + |
52 | 106 | <style>
|
53 | 107 | .preloader-wrapper {
|
54 | 108 | background-color: black;
|
|
62 | 116 |
|
63 | 117 | 20% {
|
64 | 118 | opacity: 0.2;
|
65 |
| - filter: blur(5px); |
| 119 | + filter: blur(5px); |
66 | 120 | }
|
67 | 121 |
|
68 | 122 | 100% {
|
@@ -158,8 +212,8 @@ <h5 class="offcanvas-title" id="offcanvasWithBothOptionsLabel">Menu</h5>
|
158 | 212 | href="#projects">Projects</a>
|
159 | 213 | <ul class="list-unstyled">
|
160 | 214 | <li>
|
161 |
| - <a href="/projects" |
162 |
| - class="text-white letterTransition text-decoration-none">Visit my all Projects |
| 215 | + <a href="/projects" class="text-white letterTransition text-decoration-none">Visit |
| 216 | + my all Projects |
163 | 217 | <i class="fa-solid fa-arrow-right" style="transform: rotate(-45deg);"></i></a>
|
164 | 218 | </li>
|
165 | 219 | </ul>
|
@@ -646,9 +700,10 @@ <h4 class="lead">Second Year</h2>
|
646 | 700 | <div class="ProCard">
|
647 | 701 | <img class="rounded-3" src="assets/images/pr4-live-a2z.png"
|
648 | 702 | onclick="window.location.href='Projects.html'">
|
649 |
| - </div> |
| 703 | + </div> |
650 | 704 | </div>
|
651 |
| - <div class="moreProjects overflow-hidden position-relative shadow-lg bg-dark pt-5 pb-4 rounded-4 my-5 col-xl-8 col-12 mx-auto blurry"> |
| 705 | + <div |
| 706 | + class="moreProjects overflow-hidden position-relative shadow-lg bg-dark pt-5 pb-4 rounded-4 my-5 col-xl-8 col-12 mx-auto blurry"> |
652 | 707 | <p class="h2 text-white text-center">Visit my more <a class="letterTransition"
|
653 | 708 | href="projects.html">Projects</a>
|
654 | 709 | like
|
|
0 commit comments