Effects & DesignElementor

How To Make Creative Buttons In Elementor Free

Tools and Links Used

Hostinger Fast, beginner friendly WordPress hosting.
Get Hosting
Elementor The free page builder this tutorial is built with.
Get Elementor
Elementor Pro The Pro upgrade used throughout this tutorial.
Get Elementor Pro
Kitpapa Ready made Elementor template kits.
Get Templates
Kitninja eCommerce Elementor template kits.
Get Templates

Prompt Used in This Tutorial

Fancy Button Style CSS
<style>
.fancy-btn .elementor-button {
  position: relative;
  transition: background 0.8s ease;
}

.fancy-btn .elementor-button .button__horizontal,
.fancy-btn .elementor-button .button__vertical {
  position: absolute;
  transition: transform 0.8s ease;
  will-change: transform;
}

.fancy-btn .elementor-button .button__horizontal::before,
.fancy-btn .elementor-button .button__vertical::before {
  content: "";
  position: absolute;
  border: inherit;
}

.fancy-btn .elementor-button .button__horizontal {
  top: 0;
  right: -10px;
  bottom: 0;
  left: -10px;
  border-top: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
}

.fancy-btn .elementor-button .button__horizontal::before {
  top: -12px;
  bottom: -12px;
  left: 10px;
  right: 10px;
}

.fancy-btn .elementor-button:hover .button__horizontal {
  transform: scaleX(0);
}


.fancy-btn .elementor-button .button__vertical {
  top: -10px;
  right: 0;
  bottom: -10px;
  left: 0;
  border-left: 2px solid currentcolor;
  border-right: 2px solid currentcolor;
}

.fancy-btn .elementor-button .button__vertical::before {
  top: 10px;
  bottom: 10px;
  left: -12px;
  right: -12px;
}

.fancy-btn .elementor-button:hover .button__vertical {
  transform: scaleY(0);
}


</style>
Fancy Button Style CSS Class
fancy-btn
Fancy Button JS Code
<script>

document.addEventListener("DOMContentLoaded", function() {
    document.querySelectorAll(".fancy-btn .elementor-button").forEach(function(btn) {
        if (!btn.querySelector(".button__horizontal")) {
            let horiz = document.createElement("span");
            horiz.className = "button__horizontal";
            btn.appendChild(horiz);
        }
        if (!btn.querySelector(".button__vertical")) {
            let vert = document.createElement("span");
            vert.className = "button__vertical";
            btn.appendChild(vert);
        }
    });
});
</script>
Aware Button Animation CSS
.aware-btn .elementor-button {
  position: relative;
  overflow: hidden;
  display: flex;
}

.aware-btn .elementor-button span {
  position: relative;
  z-index: 1;
}

.aware-btn .elementor-button::before {
  content: '';
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background:#0C1A40;
  transition: width 0.8s, height 0.8s;
  z-index: 0;
}

.aware-btn .elementor-button:hover::before {
  width: 1000px;
  height: 1000px;
}
Aware Button Animation CSS Class
aware-btn
Aware Button Animation JS Code
//Position Aware Button JS

  const buttons = document.querySelectorAll('.aware-btn .elementor-button');

  buttons.forEach((btn) => {
    btn.onmousemove = function (e) {
      const rect = btn.getBoundingClientRect();
      const x = e.clientX - rect.left; 
      const y = e.clientY - rect.top; 
      btn.style.setProperty('--x', x + 'px');
      btn.style.setProperty('--y', y + 'px');
    };
  });
Grow Skew Button Style CSS
.grow-skew-btn a {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.grow-skew-btn a::after {
  content: "";
  background: #fff;
  position: absolute;
  z-index: -1;
  padding: 0.85em 0.75em;
}

.grow-skew-btn a::after {
  transition: all 0.3s ease;
}
.grow-skew-btn a:hover::after {
  transition: all 0.3s ease-out;
}

.grow-skew-btn a::after {
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  transform: skewX(-45deg) scale(0, 1);
}
.grow-skew-btn a:hover::after {
  transform: skewX(-45deg) scale(1, 1);
}

.grow-skew-btn {
    display: flex;
}
Grow Skew Button Style CSS Class
grow-skew-btn

Get Your FREE Freelancing Roadmap

Stop hopping between tutorials. Grab the Freelancing Mastery Handbook to learn how to choose a skill, build your foundation, find clients, and confidently start your freelancing journey.

Free eBook Download

Related Tutorials

From learning the right skills to building a stronger digital presence, we help you turn ideas into practical, professional results.

Vibe Code a REAL Animated WordPress Website with Claude + Elementor

21.8K views

View Tutorial

Vibe Coding Full Course for Beginners – Build & Launch a Real SaaS

3.3K views

View Tutorial

Edit Videos with ChatGPT Codex — Raw Clips to Finished Reel

3.4K views

View Tutorial

Browse All Tutorials