Código HTML:
Ver original <ul class="socialgeneral"> <a href="" target="_blank" class="socialig"></a> <a href="" target="_blank" class="socialtw"></a> <a href="" target="_blank" class="socialfb"></a> <a href="mailto:" class="socialmail"></a>
Código CSS:
Ver original.socialgeneral {
text-decoration-line: none;
display: flex;
justify-content: center;
}
.socialig {
display:block;
padding: 10px;
margin: 50px 20px 0px;
float: left;
width: 50px;
height: 50px;
background: url(../files/Instagramb.png);
background-repeat: no-repeat;
transition: 1s ease;
}
.socialig:hover {
width: 50px;
height: 50px;
background: url(../files/Instagramw.png);
background-repeat: no-repeat;
}
.socialtw {
display:block;
padding: 10px;
margin: 50px 20px 0px;
float: left;
width: 50px;
height: 50px;
background: url(../files/Twitterb.png);
background-repeat: no-repeat;
transition: 1s ease;
}
.socialtw:hover {
width: 50px;
height: 50px;
background: url(../files/Twitterw.png);
background-repeat: no-repeat;
}
.socialfb {
display:block;
padding: 10px;
margin: 50px 20px 0px;
float: left;
width: 50px;
height: 50px;
background: url(../files/Facebookb.png);
background-repeat: no-repeat;
transition: 1s ease;
}
.socialfb:hover {
width: 50px;
height: 50px;
background: url(../files/Facebookw.png);
background-repeat: no-repeat;
}
.socialmail {
display:block;
padding: 10px;
margin: 50px 20px 0px;
float: left;
width: 50px;
height: 50px;
background: url(../files/Mailb.png);
background-repeat: no-repeat;
transition: 1s ease;
}
.socialmail:hover {
width: 50px;
height: 50px;
background: url(../files/Mailw.png);
background-repeat: no-repeat;
}