Navigaton panel with glowing buttons |html css rahulpgupta


Glowing navigation

This is a code for this image like navigation button.


<!DOCTYPE html>
    <html>
        <head>
<title>Glowing Navigation |rahulpgupta</title>
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">

<style type="text/css">
body
    {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #111;
     }
ul
    {
position: relative;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
border: 3px solid;
border-radius: 10px;
padding: 20px 0;
box-sizing: border-box;
overflow: hidden;
width: 240px;
background: linear-gradient(0deg ,#000000 ,#0c0c0c)
    }
ul:before
    {
content: '';
position: absolute;
width: 100%;
height: 100%;
background: rgba(255,255,255,.05);
bottom: -50%;
pointer-events: none;
z-index: 1;
    }
ul li 
    {
position: relative;
list-style: none;
text-align: center;
margin: 15px;
    }
ul li label
    {
position: relative;
    }
ul li label input[type="checkbox"]
    {
position: absolute;
opacity: 0;
cursor: pointer;
    }
ul li label  .icon-box
    {
width: 60px;
height: 60px;
background: #101010;
display: flex;
justify-content: center;
align-items: center;
border: 3px solid #000;
border-radius: 10px;
transition: 0.5s;
    }
ul li label .icon-box
    {
font-size: 30px;
color: #222;
transition: 0.5s;
     }
 ul li label input[type="checkbox"]:checked ~.icon-box
     {
  background: #000;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(33,156,243,.5),
  0 0 20px rgba(33,156,243,.5),
  0 0 30px rgba(33,156,243,.5),
  inset 0 0 30px rgba(33,156,243,1);
     }
  ul li label input[type="checkbox"]:checked ~.icon-box .fa
      {
  color: #fff;
  text-shadow: 0 0 10px rgba(33,156,243,1),
  0 0 10px rgba(33,156,243,1);
      }

</style>

</head>

<body>
<ul>
<li>
<label>
<input type="checkbox" name="">
<div class="icon-box">
<i class="fa fa-adjust" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="">
<div class="icon-box">
<i class="fa fa-battery-full" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="">
<div class="icon-box">
<i class="fa fa-book" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="">
<div class="icon-box">
<i class="fa fa-moon-o" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="">
<div class="icon-box">
<i class="fa fa-diamond" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="">
<div class="icon-box">
<i class="fa fa-wifi" aria-hidden="true"></i>
</div>
</label>
</li>
</ul>
</body>
</html>