Skip to main content

Create Eye-Catching 🔥 Glowing CSS Buttons for Your Website in 2024

 
Learn how to create eye-catching glowing CSS buttons for your website in 2024 with this easy tutorial on CSS 3D 🔥glowing buttons. Stand out from the crowd and add a touch of interactivity to your web design with these modern and attractive buttons. Watch now to elevate your website's user experience!
🔔 Subscribe for more videos














index.html

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="style.css" />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"/>
    <title>Document</title>
  </head>
  <body>
    <div class="button">
      <label>
        <input type="checkbox" name="check" />
        <span></span>
        <i class="fa-sharp fa-solid fa-1"></i>
      </label>
      <label>
        <input type="checkbox" name="check" />
        <span></span>
        <i class="fa-sharp fa-solid fa-2"></i>
      </label>
      <label>
        <input type="checkbox" name="check" />
        <span></span>
        <i class="fa-sharp fa-solid fa-3"></i>
      </label>
      <label>
        <input type="checkbox" name="check" />
        <span></span>
        <i class="fa-sharp fa-solid fa-4"></i>
      </label>
      <label>
        <input type="radio" id="up" name="check" value="up" />
        <span></span>
        <i class="fa-sharp fa-solid fa-arrow-up" id="up"></i>
      </label>
      <label>
        <input type="radio" id="down" name="check" value="down" />
        <span></span>
        <i class="fa-sharp fa-solid fa-arrow-down" id="down"></i>
      </label>
    </div>
  </body>
</html>



style.css

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #333;

}
.button{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 140px;
    gap: 20px;
   
   
}

.button label{
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}
.button label input{
    appearance: none;
}
.button label input:checked ~ span{
    box-shadow: inset 0 2px 2px rgba(0,0,0,0.2),
    inset 0 5px 5px rgba(0,0,0,0.5), inset 0 10px 15px rgba(0,0,0,0.8);
}

.button label span{
    position: absolute;
    width: 100%;
    height: 100%;
    background:linear-gradient(#555353,#363535,#303030);
    border: 2px solid #191919;
    border-radius: 8px ;
    box-shadow: inset 0 5px 3px rgba(0,0,0,0.5) , 0 5px 1px rgba(29, 28, 28, 0.8), 0 10px 15px rgba(52, 52, 52, 0.5);
}
button label span:before{
    content: '';
    position: absolute;
   inset: 5px 3px;
}
.button label i{
    position: relative;
    z-index: 10;
    font-size: 1.5em;
    color: #111;
   
}
.button label input:checked ~ i{
    color: white;
    text-shadow: 0 0 5px rgb(13, 127, 235);
}
.button label input:checked ~ #up{
    color: #0fbaa6;
   
}
.button label input:checked ~ #down{
    color: rgb(209, 32, 32);
}













Comments

Popular posts from this blog

How to Create Animate Mic Logo

    Embark on a design and coding adventure with our tutorial on creating and animating a microphone logo using HTML and CSS. In this concise yet comprehensive guide, we'll navigate logo design principles, emphasizing simplicity and visual balance. Seamlessly transitioning to animation, we'll bring the mic logo to life, making it dynamic and engaging. What sets this tutorial apart is its accessibility—no complex software, just the power of code.🎙️✨ #logoanimation #designtutorial #webdevelopment Don't forget to like, share, and subscribe for more web development tutorials and tips. If you have any questions or need further assistance, feel free to leave a comment, and we'll be happy to help you out. Happy coding! Like Us On Facebook:    / codingwithnexusofficial   Follow Us On Instagram:    / coding_with_nexus   Follow Us On TikTok:    / coding.with.nexus  index.html <! DOCTYPE html > < html lang = "en" > < head >     < meta

HTML & CSS Envelope Animation: Unveiling the Digital Elegance!

Step into the enchanting world of web development as we bring you a delightful animation of an envelope, crafted entirely with HTML and CSS. 🎨✉️ Watch in awe as pixels transform into a digital masterpiece, showcasing the beauty of code and creativity. index.html <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Animation Envelop[ </ title >     < link rel = "stylesheet" href = "style.css" > </ head > < body >     < div class = "letter-image" >         < div class = "animated-mail" >           < div class = "back-fold" ></ div >           < div class = "letter" >             < div class = "letter-border" ></ div >             < div class =

How to Create a Image Slider Using HTML, CSS and JS

    🎥 Ready to level up your web development skills? Join us in this tutorial where we guide you through the process of creating a dynamic Image Slider using HTML, CSS, and JavaScript! 🚀 Explore the magic of coding as we break down each step, empowering both beginners and seasoned developers to enhance their projects with a stunning image carousel. From seamless transitions to customizable features, this tutorial covers it all. Elevate your website's visual appeal and engage your audience with an eye-catching image slider. Let's bring your designs to life! 💻🌟 Don't forget to like, share, and subscribe for more web development tutorials and tips. If you have any questions or need further assistance, feel free to leave a comment, and we'll be happy to help you out. Happy coding!  index.html   <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content