This website is the best viewed in bigger devices.

How To Design - Glowing Icon Hover Effects


Learn how to create Glowing icon hover effects with HTML5, CSS3


Glowing Icons

How To Create Glowing icon hover effects

Step 1) Add HTML

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>Glowing Icons</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" href="images/favicon.png" type="image/png" sizes="16x16">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css"/>
    <link rel="stylesheet" href="css/style.css">
</head>

<body>

    <div class="icon-block">
        <h1>CSS Glowing Neumorphism Icon Hover Effects</h1>
        <ul>
            <li><a href="#"><i class="fab fa-facebook-f"></i></a></li>
            <li><a href="#"><i class="fab fa-twitter"></i></a></li>
            <li><a href="#"><i class="fab fa-instagram"></i></a></li>
            <li><a href="#"><i class="fab fa-pinterest"></i></a></li>
            <li><a href="#"><i class="fas fa-phone-alt"></i></a></li>
            <li><a href="#"><i class="fas fa-envelope"></i></a></li>
            <li><a href="#"><i class="fab fa-html5"></i></a></li>
            <li><a href="#"><i class="fab fa-css3-alt"></i></a></li>
            <li><a href="#"><i class="fab fa-js"></i></a></li>
            <li><a href="#"><i class="fab fa-itunes"></i></a></li>
        </ul>
    </div>

    
</body>

</html>

Step 2) Add CSS

/*

This is a Sidebar Menu made with HTML, CSS. You can freely use it in your project.
Online Tutorials inspired us to make this. It is made with ♥ by Learn Computer Academy. 
Visit our website: www.learncomputer.in

*/

@import url('https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap');

/* Normalization */

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #18181f;
}

.icon-block {
    width: 720px;
}

h1 {
    text-align: center;
    color: #444;
    margin-bottom: 50px;
}

ul {
    position: relative;
    display: flex;
    margin: 10px 0;
}

ul li {
    position: relative;
    list-style: none;
}

ul li a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #18181f;
    line-height: 55px;
    text-align: center;
    margin: 0 10px;
    border-radius: 15px;
    box-shadow: -2px -2px 3px rgba(255, 255, 255, 0.05), 3px 3px 3px rgba(0, 0, 0, 0.2);
}

ul li a:hover {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.05), inset 3px 3px 3px rgba(0, 0, 0, 0.2);
}

ul li a .fab,
ul li a .fas {
    font-size: 22px;
    color: #555;
}

ul li a:hover .fab,
ul li a:hover .fas {
    color: #00f3ff;
    text-shadow: 0 0 15px #00f3ff;
}

ul li a:hover .fab,
ul li a:hover .fas {
    color: #00f3ff;
    text-shadow: 0 0 15px #00f3ff;
}

ul:nth-child(2) li a:hover .fab,
ul:nth-child(2) li a:hover .fas {
    color: #ff0000;
    text-shadow: 0 0 15px #ff0000;
}

ul:nth-child(3) li a:hover .fab,
ul:nth-child(3) li a:hover .fas {
    color: #00ff00;
    text-shadow: 0 0 15px #00ff00;
}