Swing In Social Links

Developer
Size
2,157 Kb
Views
16,192

How do I make an swing in social links?

I had found this http://demo.tutorialzine.com/2014/08/cool-share-jquery-plugin/ and thought it was a bit much, needng jQuery to do this type of menu, so I re-created it using pure CSS.. What is a swing in social links? How do you make a swing in social links? This script and codes were developed by Tom on 19 November 2022, Saturday.

Swing In Social Links Previews

Swing In Social Links - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Swing In Social Links</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="share">
<ul id="social"> <li class="tw"><a href="https://twitter.com" target="_blank"><i class="fa fa-twitter"></i></li> <li class="fb"><a href="https://facebook.com" target="_blank"><i class="fa fa-facebook"></i></li> <li class="gp"><a href="https://google.com" target="_blank"><i class="fa fa-google-plus"></i></li>
</ul> <a href="#" class="open"><i class="fa fa-mail-forward"></i> </a>
</div>
</body>
</html>

Swing In Social Links - Script Codes CSS Codes

#share { width:300px; height:auto; margin:100px auto; text-align:center; position:relative;
}
#share:hover #social { opacity: 1; transform: scale(1) translateY(-50px);
}
#share a.open { width:30px; padding:2px 10px; border:1px solid #666; color:#666; border-radius:3px; margin-left:-18px; position:absolute; bottom:0px; left:50%; clear:both; z-index:8;
}
#social { width:300px; height:100px ; list-style:none; display:block; margin:0 auto; padding:0; transform: scale(0) translateY(250px); transform-origin: 50% 0 0; opacity:0; transition: all 0.5s ease 0s; transform-origin: 50% 0 0; z-index:100; position:relative;
}
#social li { width:100px; height:100px; display:block; line-height:100px; vertical-align:ceter; text-align:center; font-size:40px; margin:0; padding:0; float:left; transition: all 1s ease-in-out; cursor:pointer; background-size: 100% 350%;
}
#social li a { color:#fff; transition: all 1s ease-in-out;
}
.tw { background-image:linear-gradient(#00acee 25%, #ffffff 75%);
}
.fb { background-image:linear-gradient(#3b5998 25%, #ffffff 75%);
}
.gp { background-image:linear-gradient(#dd4b39 25%, #ffffff 75%);
}
li:hover { background-position:0 100%;
}
.tw:hover a { color:#00aced !important;
}
.fb:hover a { color:#3b5998 !important;
}
.gp:hover a{ color:#dd4b39 !important;
}
Swing In Social Links - Script Codes
Swing In Social Links - Script Codes
Home Page Home
Developer Tom
Username TomJ1588
Uploaded November 19, 2022
Rating 3
Size 2,157 Kb
Views 16,192
Do you need developer help for Swing In Social Links?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Tom (TomJ1588) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!