TheSepProject TheSepProject -3 years ago 190
CSS Question

How to make a Squarespace like social icon effect?

I'm trying to get a Squarespace like social icon effects on my project.

You may check these examples below:

Look for the social icons, when you hover over an icon other icons gets transparent (or grey or something like that). Do you guys have any idea how to achieve this.

Normal view, while not hovering the cursor over a specific icon

When hovering over an icon. Here, I've placed my cursor on Twitter icon and instantly all other icons faded out to a lighter color

Answer Source

you can't do it with pure css and Sami's answer have bug.i explain in comment.

Try This:

a {
    color: #000;
    transition: all 500ms;
<script src=""></script>    
<link rel="stylesheet" href="">  
<a href="#"><i class="fa fa-twitter" aria-hidden="true"></i></a>
<a href="#"><i class="fa fa-instagram" aria-hidden="true"></i></a>
<a href="#"><i class="fa fa-linkedin" aria-hidden="true"></i></a>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download