Sign Up for our hackathon today!  Sign up

Cool Button.

				
					<button id="second_btn" class="learn-more">
  <span class="circle" aria-hidden="true">
  <span class="icon arrow"></span>
  </span>
  <span class="button-text">Our Services</span>
</button>
				
			
				
					#second_btn {
    font-family: "Manrope", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.5px;
 position: relative;
 display: inline-block;
 cursor: pointer;
 outline: none;
 border: 0;
 vertical-align: middle;
 text-decoration: none;
 background: transparent;
 padding: 0;
}

#second_btn.learn-more {
 width: 12rem;
 height: auto;
}

#second_btn.learn-more .circle {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: relative;
 display: block;
 margin: 0;
 width: 3rem;
 height: 3rem;
 background: #995BFC;
 border-radius: 1.625rem;
}

#second_btn.learn-more .circle .icon {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: absolute;
 top: 0;
 bottom: 0;
 margin: auto;
 background: #fff;
}

#second_btn.learn-more .circle .icon.arrow {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 left: 0.625rem;
 width: 1.125rem;
 height: 0.125rem;
 background: none;
}

#second_btn.learn-more .circle .icon.arrow::before {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    content: "";
    top: -0.24rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
}

#second_btn.learn-more .button-text {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 padding: 0.75rem 0;
 margin: 0 0 0 1.85rem;
 color: #995BFC;
 line-height: 1.6;
 text-align: center;
 text-transform: uppercase;
}

#second_btn:hover .circle {
 width: 100%;
}

#second_btn:hover .circle .icon.arrow {
 background: #fff;
 transform: translate(1rem, 0);
}
#second_btn:hover.learn-more .circle .icon.arrow::before{
  transform: rotate(45deg);
}
#second_btn:hover .button-text {
 color: #fff;
} 

@media only screen and (max-width: 768px) {
  #second_btn.learn-more:hover .circle .icon.arrow::before {
    transform: rotate(40deg);
  }
}
				
			

Cool Button.

				
					<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.0/gsap.min.js"></script>

<script>
document.addEventListener('DOMContentLoaded', (event) => {
    const button = document.querySelector('.magnetic-button');

    if (button) {
        button.addEventListener('mousemove', (e) => {
            const rect = button.getBoundingClientRect();
            const x = e.clientX - rect.left - rect.width / 2;
            const y = e.clientY - rect.top - rect.height / 2;

            gsap.to(button, {
                duration: 0.3,
                x: x * 0.3,
                y: y * 0.3,
                ease: "power2.out"
            });
        });

        button.addEventListener('mouseleave', (e) => {
            gsap.to(button, {
                duration: 0.3,
                x: 0,
                y: 0,
                ease: "power2.out"
            });
        });
    }
});
</script>


<script>
document.addEventListener('DOMContentLoaded', (event) => {
    const button = document.querySelector('.learn-more');

    if (button) {
        button.addEventListener('mousemove', (e) => {
            const rect = button.getBoundingClientRect();
            const x = e.clientX - rect.left - rect.width / 2;
            const y = e.clientY - rect.top - rect.height / 2;

            gsap.to(button, {
                duration: 0.3,
                x: x * 0.3,
                y: y * 0.3,
                ease: "power2.out"
            });
        });

        button.addEventListener('mouseleave', (e) => {
            gsap.to(button, {
                duration: 0.3,
                x: 0,
                y: 0,
                ease: "power2.out"
            });
        });
    }
});
</script>
				
			

Grow- shrink section with GSAP .

				
					<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollTrigger.min.js"></script>
<script>


gsap.registerPlugin(ScrollTrigger);
const shrinkGrowSection = gsap.timeline({
  scrollTrigger: {
    trigger: ".shrink-grow-section", // You can name this class whatever you want
    start: '-250px center', // Adjust this value as needed
    scrub: true, // For smoother animation
    end: "300px center", // Adjust this value as needed
    markers: true, // Delete this on live site
   
  },
});

shrinkGrowSection
  .fromTo(".shrink-grow-section", { scale: 0.6 }, { scale: 1.0 }) // Grow-Shrink animation 
  
</script>
				
			

Cool Scroll Bar .

				
					
  body::-webkit-scrollbar {
	  width: 5px;
     }
  body::-webkit-scrollbar-track { 
      background:#F8F8F8; 
     }
  body::-webkit-scrollbar-thumb {
      border-radius: 0px;
      background:#995BFC;
     }




				
			

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Got a question?

By clicking Send, you agree to our Terms of Use and Privacy Policy