Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"social media icons"
Bootstrap 4.1.1 Snippet by
saikrishna99666
4.1.1
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
499
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" /> <title>Social Media Buttons</title> <link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" /> </head> <body> <div class="middle"> <a class="btn" href="#"> <i class="fab fa-facebook-f"></i> </a> <a class="btn" href="#"> <i class="fab fa-twitter"></i> </a> <a class="btn" href="#"> <i class="fab fa-google"></i> </a> <a class="btn" href="#"> <i class="fab fa-instagram"></i> </a> <a class="btn" href="#"> <i class="fab fa-youtube"></i> </a> </div> </body> </html>
body { padding: 0; margin: 0; } .middle { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; text-align: center; } .btn { display: inline-block; width: 90px; height: 90px; background: #f1f1f1; margin: 10px; border-radius: 30%; box-shadow: 0 5px 15px -5px #00000070; color: #3498db; overflow: hidden; position: relative; } .btn i { line-height: 90px; font-size: 26px; transition: 0.2s linear; } .btn:hover i { transform: scale(1.3); color: #f1f1f1; } .btn::before { content: ""; position: absolute; width: 120%; height: 120%; background: #3498db; transform: rotate(45deg); left: -110%; top: 90%; } .btn:hover::before { animation: aaa 0.7s 1; top: -10%; left: -10%; } @keyframes aaa { 0% { left: -110%; top: 90%; } 50% { left: 10%; top: -30%; } 100% { top: -10%; left: -10%; } }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76