Hover on icons.


icon

Hover on icons.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<title>Icons</title>
<style type="text/css">
*
{
margin: 0;
padding: 0;
}
.banner
{
position: absolute;
width: 100%;
height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.banner video
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.banner i.fa
{
position: relative;
width: 100%;
height: 100%;
background: #fff;
font-size: 35vw;
text-align: center;
color: #000;
line-height: 100vh;
mix-blend-mode: screen;
}
.banner i.fa:hover
{
color: #fff;
background: #000;
}
@media (max-width: 768px)
{
.banner
{
flex-direction: column;
}
.banner i.fa
{
height: 50%;
line-height: 50vh;
font-size: 50vw;
}
}
</style>
</head>
<body>
<div class="banner">
<video autoplay muted loop>
<source src="bg.mov" type="video/mp4">
</video>
<i class="fa fa-facebook-official" aria-hidden="true"></i>
<i class="fa fa-twitter" aria-hidden="true"></i>
</div>

</body>
</html> -------------download this video--------->