"social hover bottom to top and flip"
Bootstrap 4.1.1 Snippet by soumen

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"> </script> <ul> <li> <a href="#"> <i class="fab fa-facebook-f icon"></i> </a> </li> <li> <a href="#"><i class="fab fa-twitter icon"></i></a> </li> <li> <a href="#"><i class="fab fa-linkedin-in icon"></i></a></li> <li> <a href="#"><i class="fab fa-google-plus-g icon"></i></a></li> </ul> </div>
body { margin: 0; padding:0; background: #262626; } ul { display: flex; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } ul li { list-style: none; } ul li a { width: 80px; height: 80px; background-color: ##fff; text-align: center; line-height: 80px; font-size: 35px; margin: 0 10px; display: block; border-radius: z50%; position: relative; overflow: hidden; border: 3px solid transparent; z-index: 1; } ul li a .icon { position: relative; color: #0ff; transition: .5s; z-index: 3; } ul li a:hover { border-radius: z50%; border: 3px solid ##fff; } ul li a:hover .icon { color: #fff; transform: rotateY(360deg); } ul li a:before { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 100%; background: #f00; transition: .5s; z-index: 2; } ul li a:hover:before { top: 0; } ul li:nth-child(1) a:before{ background: #3b5999; } ul li:nth-child(2) a:before{ background: #55acee; } ul li:nth-child(3) a:before { background: #0077b5; } ul li:nth-child(4) a:before { background: #dd4b39; }

Related: See More


Questions / Comments: