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

Build a Simple Calculator Using HTML, CSS and JavaScript | Step-by-Step Tutorial

    You'll learn how to create a fully functional calculator using #html #css and #javascript . Follow along as we break down the process into easy-to-understand steps, from designing the user interface with HTML and CSS to adding interactive functionality with JavaScript. 🔹 Learn the fundamentals of HTML, CSS, and JavaScript. 🔹 Design a sleek and user-friendly calculator interface. 🔹 Implement basic arithmetic operations, including addition, subtraction, multiplication, and division. 🔹 Handle user input and display results in real-time. 🔹 Enhance the calculator with clear functionality. 🔹 Perfect for web development beginners and anyone looking to sharpen their skills. By the end of this tutorial, you'll have your very own #calculator that you can showcase in your web development portfolio. index.html <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport...

Parallax Scrolling Website Effect Using HTML CSS

  Welcome to our step-by-step tutorial on creating Parallax Scrolling Website Effect using #html  & #css  . In this video, we'll guide you through the process of building a simple yet effective Parallax Effect for your web projects. With just a few lines of code, you'll learn how to create a user-friendly interface that allows users to this effect seamlessly. Whether you're a beginner or an experienced developer looking to enhance your skills, this tutorial is perfect for you. Follow along and empower yourself to create dynamic web applications with ease! Don't forget to like, share, and subscribe for more coding tutorials. Let's get started! index.html  <! DOCTYPE html > < html lang = "en" >   < head >     < meta charset = "UTF-8" />     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" />     < title > Parallax Scrolling Website </ title >     ...

How To Create a Sign Up Form Using HTML & CSS

    In this tutorial, we'll guide you through the process of creating a standard sign-up form using HTML and CSS. It's a fundamental skill for anyone interested in web development or design. This tutorial is suitable for beginners and provides a solid foundation for understanding how to create a sign-up form. If you're interested in web development or web design, this is a crucial skill to master. If you find this video helpful, please consider liking and subscribing for more web development tutorials. Let's start building your sign-up form together!  1.Create a New Folder 2.Open the Folder in Vs Code  3.Create index.html and style.css Files  4.Create Image Folder and download  Background picture to Image folder 5.Begin Coding  index.html  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" ...