.team-detail:hover { background-color:#008fd5; padding: 10px 20px; position: relative; } .detail-social { background: none repeat scroll 0 0 rgba(255, 255, 255, 0.5); height: 100%; left: 0; opacity: 0; overflow: hidden; position: absolute; top: 0; transition: opacity 0.3s ease 0s; width: 100%; } .detail-social ul { font-size: 0; left: 0; margin-top: -28px; position: absolute; text-align: center; top: 50%; width: 100%; } .detail-social li { display: inline-block; height: 45px; left: 16px; margin: 0 8px; opacity: 0; position: relative; top: -150px; transition: opacity 0.4s ease 0s; width: 45px; } .detail-social li a { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.5); color: #fff !important; display: block; font-size: 20px !important; height: 50px !important; line-height: 50px !important; width: 50px !important; } .detail-social a:hover { background: #4db1e2; }