Design Synth

Neumorphism Hover Glow Icons | HTML & CSS Only

Neumorphism Hover Glow Icons | HTML & CSS Only | Smooth UI Effects

Neumorphism Hover Glow Icons | HTML & CSS Only | Smooth UI Effects

Neumorphism Hover Glow Icons | HTML & CSS Only | Smooth UI Effects

Brimston (4)

Overview

In this tutorial, we will be constructing modern glowing social media icons using HTML, CSS, and Font Awesome. Each icon features a gorgeous gradient background, soft shadows, and a color glow on hover that corresponds to the brand color (such as Facebook blue, Instagram pink, etc.).

Β 

This UI is ideal for:

Β 

  • Website footers
  • Profile sections
  • Landing pages
  • Portfolio websites

Let’s dive in! πŸš€

πŸ“Œ Step 1 β€” HTML Setup

We create a simple list of social icons, each inside a <ul>.

HTML:

<ul>
Β  Β  <li><a href=”#”><i class=”fa-brands fa-facebook”></i></a> </li>
Β  Β  <li><a href=”#”><i class=”fa-brands fa-twitter”></i></a></li>
Β  Β  …
</ul>

Each icon is placed within a round container that we will style using gradients and shadows.

🎨 Step 2 β€” CSS Variable (Theme & Colors)

We define a clean color theme using :root, which contains brand colors for each icon.

CSS:

:root {
Β  Β  –dark-bg: #1a1a1a;
Β  Β  –facebook-color: #3b5998;
Β  Β  –twitter-color: #00aced;
Β  Β  …
}

This all works well because the variables make it easy to swap colors out, and their use is of great value in ensuring color consistency.

πŸ–ΌοΈ Step 3 β€” Centering the Icon Layout

We will move all of the icons into the center using absolute positioning along with CSS transforms.

CSS:

ul {
Β  Β  Β position: absolute;
Β  Β  Β top: 50%;

Β  Β  Β left: 50%;
Β  Β  Β transform: translate(-50%, -50%);
Β  Β  Β display: flex;
}

This enables a perfectly centered layout on any screen.

πŸ’  Step 4 β€” Styling The Icon Container

Each icon container will be:

Β 

  • A circle dimensions of 60x60px
  • With a gradient background
  • With a subtle shadow
  • With a smooth transition of 0.5s
CSS

ul li a {
Β  Β  width: 60px; height: 60px;
Β  Β  border-radius: 50%;
Β  Β  background: linear-gradient(…);
Β  Β  box-shadow: 0 10px 15px rgba(0,0,0,0.5);
Β  Β  transition: 0.5s;
}

🌈 Step 5 β€” Icon Styles and Hover Glow Effect

The Font Awesome icon within will change colors and glow when hovering over it.

CSS

ul li:nth-child(1) a:hover .fa-brands {
Β  Β  Β color: var(–facebook-color);
Β  Β  Β box-shadow: 0 0 20px var(–facebook-color);
}

There are 5 different hover styles for each of the 5 platforms:

Β 

  • Facebook
  • Twitter
  • Google
  • LinkedIn
  • Instagram

This will result in a smooth glow ring in the brand color.

✨ Final Output - What You Built

βœ” Stylish gradient icon buttons

βœ” Centrally aligned

βœ” Matching glow effects per the brand colorway

βœ” Modern, minimal, and elegant design

βœ” Fully responsive

Design Synth

Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.

Popular Posts

4 (1)
No posts found

Explore Topics

4 (1)

Tag Clouds

4 (1)
Brimston (4)

Overview

In this tutorial, we will be constructing modern glowing social media icons using HTML, CSS, and Font Awesome. Each icon features a gorgeous gradient background, soft shadows, and a color glow on hover that corresponds to the brand color (such as Facebook blue, Instagram pink, etc.).

Β 

This UI is ideal for:

Β 

  • Website footers
  • Profile sections
  • Landing pages
  • Portfolio websites

Let’s dive in! πŸš€

πŸ“Œ Step 1 β€” HTML Setup

We create a simple list of social icons, each inside a <ul>.

HTML:

<ul>
Β  Β  <li><a href=”#”><i class=”fa-brands fa-facebook”></i></a> </li>
Β  Β  <li><a href=”#”><i class=”fa-brands fa-twitter”></i></a></li>
Β  Β  …
</ul>

Each icon is placed within a round container that we will style using gradients and shadows.

🎨 Step 2 β€” CSS Variable (Theme & Colors)

We define a clean color theme using :root, which contains brand colors for each icon.

CSS:

:root {
Β  Β  –dark-bg: #1a1a1a;
Β  Β  –facebook-color: #3b5998;
Β  Β  –twitter-color: #00aced;
Β  Β  …
}

This all works well because the variables make it easy to swap colors out, and their use is of great value in ensuring color consistency.

πŸ–ΌοΈ Step 3 β€” Centering the Icon Layout

We will move all of the icons into the center using absolute positioning along with CSS transforms.

CSS:

ul {
Β  Β  Β position: absolute;
Β  Β  Β top: 50%;

Β  Β  Β left: 50%;
Β  Β  Β transform: translate(-50%, -50%);
Β  Β  Β display: flex;
}

This enables a perfectly centered layout on any screen.

πŸ’  Step 4 β€” Styling The Icon Container

Each icon container will be:

Β 

  • A circle dimensions of 60x60px
  • With a gradient background
  • With a subtle shadow
  • With a smooth transition of 0.5s
CSS

ul li a {
Β  Β  width: 60px; height: 60px;
Β  Β  border-radius: 50%;
Β  Β  background: linear-gradient(…);
Β  Β  box-shadow: 0 10px 15px rgba(0,0,0,0.5);
Β  Β  transition: 0.5s;
}

🌈 Step 5 β€” Icon Styles and Hover Glow Effect

The Font Awesome icon within will change colors and glow when hovering over it.

CSS

ul li:nth-child(1) a:hover .fa-brands {
Β  Β  Β color: var(–facebook-color);
Β  Β  Β box-shadow: 0 0 20px var(–facebook-color);
}

There are 5 different hover styles for each of the 5 platforms:

Β 

  • Facebook
  • Twitter
  • Google
  • LinkedIn
  • Instagram

This will result in a smooth glow ring in the brand color.

✨ Final Output - What You Built

βœ” Stylish gradient icon buttons

βœ” Centrally aligned

βœ” Matching glow effects per the brand colorway

βœ” Modern, minimal, and elegant design

βœ” Fully responsive

Design Synth

Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.

Popular Posts

4 (1)
No posts found

Explore Topics

4 (1)

Tag Clouds

4 (1)
Brimston (4)
Overview

In this tutorial, we will be constructing modern glowing social media icons using HTML, CSS, and Font Awesome. Each icon features a gorgeous gradient background, soft shadows, and a color glow on hover that corresponds to the brand color (such as Facebook blue, Instagram pink, etc.).

This UI is ideal for:

  • Website footers
  • Profile sections
  • Landing pages
  • Portfolio websites

Let’s dive in! πŸš€

πŸ“Œ Step 1 β€” HTML Setup

We create a simple list of social icons, each inside a <ul>.

HTML:

<ul>
Β  Β  <li><a href=”#”><i class=”fa-brands fa-facebook”></i></a> </li>
Β  Β  <li><a href=”#”><i class=”fa-brands fa-twitter”></i></a></li>
Β  Β  …
</ul>

Each icon is placed within a round container that we will style using gradients and shadows.

🎨 Step 2 β€” CSS Variable (Theme & Colors)

We define a clean color theme using :root, which contains brand colors for each icon.

CSS:

:root {
Β  Β  –dark-bg: #1a1a1a;
Β  Β  –facebook-color: #3b5998;
Β  Β  –twitter-color: #00aced;
Β  Β  …
}

This all works well because the variables make it easy to swap colors out, and their use is of great value in ensuring color consistency.

πŸ–ΌοΈ Step 3 β€” Centering the Icon Layout

We will move all of the icons into the center using absolute positioning along with CSS transforms.

CSS:

ul {
Β  Β  Β position: absolute;
Β  Β  Β top: 50%;

Β  Β  Β left: 50%;
Β  Β  Β transform: translate(-50%, -50%);
Β  Β  Β display: flex;
}

This enables a perfectly centered layout on any screen.

πŸ’  Step 4 β€” Styling The Icon Container

Each icon container will be:

  • A circle dimensions of 60x60px
  • With a gradient background
  • With a subtle shadow
  • With a smooth transition of 0.5s
CSS

ul li a {
Β  Β  width: 60px; height: 60px;
Β  Β  border-radius: 50%;
Β  Β  background: linear-gradient(…);
Β  Β  box-shadow: 0 10px 15px rgba(0,0,0,0.5);
Β  Β  transition: 0.5s;
}

🌈 Step 5 β€” Icon Styles and Hover Glow Effect

The Font Awesome icon within will change colors and glow when hovering over it.

CSS

ul li:nth-child(1) a:hover .fa-brands {
Β  Β  Β color: var(–facebook-color);
Β  Β  Β box-shadow: 0 0 20px var(–facebook-color);
}

There are 5 different hover styles for each of the 5 platforms:

  • Facebook
  • Twitter
  • Google
  • LinkedIn
  • Instagram

This will result in a smooth glow ring in the brand color.

✨ Final Output - What You Built

βœ” Stylish gradient icon buttons

βœ” Centrally aligned

βœ” Matching glow effects per the brand colorway

βœ” Modern, minimal, and elegant design

βœ” Fully responsive

Design Synth

Welcome to Design Synth! Enter the world of web design, where art meets code. Find awesome designs, practice new techniques, and churn out stunning digital experiences that excite and engage an audience.

Popular Posts

4 (1)
No posts found

Explore Topics

4 (1)

Tag Clouds

4 (1)