Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    How to make Awesome Radar Animation using HTML & CSS

    8 May 2025

    How to create Cross Road Game using HTML CSS and JS

    2 May 2025

    How to create 3D Animated Bee website using HTML CSS and JS

    28 April 2025
    Facebook X (Twitter) Instagram YouTube Telegram Threads
    Coding StellaCoding Stella
    • Home
    • Blog
    • HTML & CSS
      • Login Form
    • JavaScript
    • Hire us!
    Coding StellaCoding Stella
    Home - HTML & CSS - How to make Glowing Button on Hover using HTML CSS
    HTML & CSS

    How to make Glowing Button on Hover using HTML CSS

    Coding StellaBy Coding Stella21 March 2024No Comments4 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Email WhatsApp Copy Link

    Let’s create a Liquid Neon Glowing Button using HTML and CSS. This project will add a cool, futuristic vibe to your website, sure to capture attention and make your design stand out.

    We’ll keep it sleek and modern, using HTML to structure the button and CSS to achieve the mesmerizing liquid neon effect. No need for complex setups – just simple, fun coding!

    Let’s dive into the code and craft a Liquid Neon Glowing Button that will add a touch of excitement to your web projects. Whether you’re a beginner or seasoned developer, this tutorial offers an exciting chance to enhance your skills and create something visually stunning.

    Let’s get started and make those buttons glow!

    HTML :

    This HTML code creates a webpage featuring buttons with neon glowing effects upon hover. Inside a container, there’s a section containing three buttons labeled “Sass,” “HTML5,” and “CSS3.” Each button has a class prefixed with “btn” to define its styling. Additionally, the page includes references to jQuery library and a custom JavaScript file named “main.js” for handling button interactions.

    <!DOCTYPE html>
    <html lang="en" >
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Glowing Button</title><link rel="stylesheet" href="./style.css">
    
    </head>
    <body>
    <!-- partial:index.partial.html -->
    
    <div class="container">
        <section>
            <h2 class="btn btn__sass">Sass</h2>
            <h2 class="btn btn__html">HTML5</h2>
            <h2 class="btn btn__css">CSS3</h2>
        </section>
    </div>
    
        <script type="text/javascript" src="js/jquery-3.5.1.min.js"></script>
        <script type="text/javascript" src="js/main.js"></script>
    <!-- partial -->
      <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script>
    </body>
    </html>
    

    CSS :

    This CSS creates buttons with a liquid neon glow effect on hover. The body has a black background and white text. Buttons are labeled “Sass,” “HTML5,” and “CSS3,” each with a border and padding. On hover, buttons change border color and pseudo-elements create a liquid neon effect by transitioning height and applying box-shadow. Sass button glows pink, HTML5 orange, and CSS3 blue.

    @import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap");
    body {
      margin: 0;
      padding: 0;
      min-height: 100vh;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      font-family: "Questrial", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
      color: white;
      background: black;
    }
    
    .container {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      margin-top: 90px;
    }
    
    h2 {
      font-size: 40px;
      padding: 15px 40px;
      border: 2px solid #051c2e;
      border-radius: 5px;
    }
    
    section {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
    }
    
    .btn {
      cursor: pointer;
      position: relative;
      overflow: hidden;
      -webkit-transition: 100ms 300ms;
      -o-transition: 100ms 300ms;
      transition: 100ms 300ms;
    }
    
    .btn:hover {
      border: 2px solid;
      border-radius: 5px;
    }
    
    .btn__sass::before {
      content: "";
      position: absolute;
      left: 0;
      width: 100%;
      height: 0%;
      background: #cf649a;
      z-index: -1;
      -webkit-transition: 0.8s;
      -o-transition: 0.8s;
      transition: 0.8s;
      bottom: 0;
      border-radius: 40px 40px 0 0;
      -webkit-box-shadow: 0 0 10px #cf649a, 0 0 40px #cf649a, 0 0 80px #cf649a;
      box-shadow: 0 0 10px #cf649a, 0 0 40px #cf649a, 0 0 80px #cf649a;
    }
    
    .btn__sass:hover::before {
      height: 180%;
    }
    
    .btn__sass:hover {
      -webkit-box-shadow: 0 0 10px #cf649a, 0 0 40px #cf649a, 0 0 80px #cf649a;
      box-shadow: 0 0 10px #cf649a, 0 0 40px #cf649a, 0 0 80px #cf649a;
    }
    
    .btn__html::before {
      content: "";
      position: absolute;
      left: 0;
      width: 100%;
      height: 0%;
      background: #df4b25;
      z-index: -1;
      -webkit-transition: 0.8s;
      -o-transition: 0.8s;
      transition: 0.8s;
      bottom: 0;
      border-radius: 40px 40px 0 0;
      -webkit-box-shadow: 0 0 10px #df4b25, 0 0 40px #df4b25, 0 0 80px #df4b25;
      box-shadow: 0 0 10px #df4b25, 0 0 40px #df4b25, 0 0 80px #df4b25;
    }
    
    .btn__html:hover::before {
      height: 180%;
    }
    
    .btn__html:hover {
      -webkit-box-shadow: 0 0 10px #df4b25, 0 0 40px #df4b25, 0 0 80px #df4b25;
      box-shadow: 0 0 10px #df4b25, 0 0 40px #df4b25, 0 0 80px #df4b25;
    }
    
    .btn__css::before {
      content: "";
      position: absolute;
      left: 0;
      width: 100%;
      height: 0%;
      background: #3596cf;
      z-index: -1;
      -webkit-transition: 0.8s;
      -o-transition: 0.8s;
      transition: 0.8s;
      bottom: 0;
      border-radius: 40px 40px 0 0;
      -webkit-box-shadow: 0 0 10px #3596cf, 0 0 40px #3596cf, 0 0 80px #3596cf;
      box-shadow: 0 0 10px #3596cf, 0 0 40px #3596cf, 0 0 80px #3596cf;
    }
    
    .btn__css:hover::before {
      height: 180%;
    }
    
    .btn__css:hover {
      -webkit-box-shadow: 0 0 10px #3596cf, 0 0 40px #3596cf, 0 0 80px #3596cf;
      box-shadow: 0 0 10px #3596cf, 0 0 40px #3596cf, 0 0 80px #3596cf;
    }

    In short, crafting a Liquid Neon Glowing Button using HTML and CSS adds a modern and attention-grabbing touch to any website. This project allows for experimentation with exciting design techniques while creating a visually stunning button that captivates users. Whether you’re a beginner or seasoned developer, this tutorial offers a fun and creative way to enhance your web design skills.

    If your project has problems, don’t worry. Just click to download the source code and face your coding challenges with excitement. Have fun coding!

    Button Glowing Hover effect
    Share. Copy Link Twitter Facebook LinkedIn Email WhatsApp
    Previous ArticleHow to make Clean Toast Notifications using HTML & CSS
    Next Article How to make Monster Tooth Toggle button using HTML CSS
    Coding Stella
    • Website

    Related Posts

    HTML & CSS

    How to make Awesome Radar Animation using HTML & CSS

    8 May 2025
    HTML & CSS

    How to make Cool Loading Animation using HTML & CSS

    18 April 2025
    HTML & CSS

    How to make Magic Social Share Menu using HTML CSS and JS

    14 April 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Trending Post

    Master Frontend in 100 Days Ebook

    2 March 202419K Views

    How to make Modern Login Form using HTML & CSS | Glassmorphism

    11 January 202416K Views

    How to make I love you Animation in HTML CSS & JavaScript

    14 February 202414K Views

    How to make Valentine’s Day Card using HTML & CSS

    13 February 202412K Views
    Follow Us
    • Instagram
    • Facebook
    • YouTube
    • Twitter
    ads
    Featured Post

    How to create 3D Animated Bee website using HTML CSS and JS

    28 April 2025

    How to create Responsive Portfolio using HTML CSS & JavaScript

    19 February 2025

    How to make Animated Bouncy Clock in HTML CSS & JavaScript

    24 March 2025

    How to make Netflix Login page using HTML & CSS

    14 January 2024
    Latest Post

    How to make Awesome Radar Animation using HTML & CSS

    8 May 2025

    How to create Cross Road Game using HTML CSS and JS

    2 May 2025

    How to create 3D Animated Bee website using HTML CSS and JS

    28 April 2025

    How to create Animated File Upload Modal using JavaScript

    23 April 2025
    Facebook X (Twitter) Instagram YouTube
    • About Us
    • Privacy Policy
    • Return and Refund Policy
    • Terms and Conditions
    • Contact Us
    • Buy me a coffee
    © 2025 Coding Stella. Made with 💙 by @coding.stella

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Looks like you're using an ad blocker. We rely on advertising to help fund our site.
    Okay! I understood