<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="MAIN.CSS">
<title>desolate</title>
</head>
<body>
<div class="content">
<div class="aboutme">
<div class="avatar">
<div class="nickname">
<div class="info">streamer / nolifer / dota 2 player
<div class="video-bg"><video autoplay muted loop class="background-video">
<source src="image/Overlay_Start_01_2.webm" type="video/mp4"></video>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');
body {
}
.content {
position: relative;
}
.video-bg {
position: absolute;
}
/* Style the video: 100% width and height to cover the entire window */
.background-video {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
}
.aboutme {
margin: 0 auto;
width: 440px;
height: auto;
}
.avatar {
background-image: url(image/avatar.jpg);
width: 126px;
height: 126px;
border-radius: 50%;
margin: 170px auto 0px;
}
.nickname {
background-image: url(image/nickname.png);
width: 442px;
height: 31px;
margin: 24px auto 0px;
}
.info {
width: 232px;
height: auto;
margin: 10px auto 0px;
color: #8B8B8B;
font-family: Montserrat;
font-style: normal;
font-weight: normal;
font-size: 12px;
line-height: 15px;
text-align: center;
letter-spacing: 0.1em;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="MAIN.CSS">
<title>desolate</title>
</head>
<body>
<div class="content">
<video autoplay muted loop id="background-video">
<source src="image/Overlay_Start_01_2.webm" type="video/mp4"></video>
<div class="aboutme">
<div class="avatar">
<div class="nickname">
<div class="info">streamer / nolifer / dota 2 player
</div>
</div>
</div>
</div>
</div>
</body>
</html>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');
body {
}
.content {
position: relative;
}
/* Style the video: 100% width and height to cover the entire window */
.background-video {
position: absolute;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
}
.aboutme {
margin: 0 auto;
width: 440px;
height: auto;
}
.avatar {
background-image: url(image/avatar.jpg);
width: 126px;
height: 126px;
border-radius: 50%;
margin: 170px auto 0px;
}
.nickname {
background-image: url(image/nickname.png);
width: 442px;
height: 31px;
margin: 24px auto 0px;
}
.info {
width: 232px;
height: auto;
margin: 10px auto 0px;
color: #8B8B8B;
font-family: Montserrat;
font-style: normal;
font-weight: normal;
font-size: 12px;
line-height: 15px;
text-align: center;
letter-spacing: 0.1em;
}
<!DOCTYPE html>
<html lang="rug">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="images/">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" rel="stylesheet">
<title>WELOVEDESIGN</title>
</head>
<body>
<div class="nav">
<div class="logo"></div>
<div class="razdelitel"></div>
<div class="social">
<a class="be" href="#"></a>
<a class="insta" href="#"></a>
<a class="vk" href="#"></a>
</div>
<div class="contacts">
<div class="mail">
<a>PRIMER@GMAIL.COM</a>
</div>
<div class="telegram">
<a>@PRIMER</a>
</div>
</div>
</div>
</body>
</html>
body {
font-size: 10px;
font-family: 'Open Sans', sans-serif;
background: #000000;
}
.nav {
width: 1720px;
display: flex;
margin: 80px auto 0 auto;
flex-flow: row nowrap;
}
.logo {
width: 287px;
height: 28px;
background-image: url(../images/logo.png);
background-repeat: no-repeat;
}
.razdelitel {
margin-left:35px;
width: 1px;
height: 28px;
background-color: #5b5b5b;
}
.be {
margin-top: 6px;
margin-left: 35px;
width: 21px;
height: 16px;
background-image: url(../images/be.png);
background-repeat: no-repeat;
}
.be:hover {
transition: 1s;
margin-top: 6px;
margin-left: 35px;
width: 21px;
height: 16px;
background-image: url(../images/behover.png);
background-repeat: no-repeat;
}
.insta {
margin-top: 6px;
margin-left: 15px;
width: 16px;
height: 16px;
background-image: url(../images/insta.png);
background-repeat: no-repeat;
}
.insta:hover {
transition: 1s;
margin-top: 6px;
margin-left: 15px;
width: 16px;
height: 16px;
background-image: url(../images/instahover.png);
background-repeat: no-repeat;
}
.vk {
margin-top: 6px;
margin-left: 15px;
width: 21px;
height: 16px;
background-image: url(../images/vk.png);
background-repeat: no-repeat;
}
.vk:hover {
transition: 1s;
margin-top: 6px;
margin-left: 15px;
width: 21px;
height: 16px;
background-image: url(../images/vkhover.png);
background-repeat: no-repeat;
}
.mail {
margin-top: 6px;
margin-left: 900px;
width: 20px;
height: 16px;
background-image: url(../images/mail.png);
background-repeat: no-repeat;
}
.mail:hover {
transition: 1s;
margin-top: 6px;
margin-left: 900px;
width: 20px;
height: 16px;
background-image: url(../images/mailhover.png);
background-repeat: no-repeat;
}
.telegram {
margin-top: 6px;
margin-left: 150px;
width: 20px;
height: 16px;
background-image: url(../images/telegram.png);
background-repeat: no-repeat;
}
.telegram:hover {
transition: 1s;
margin-top: 6px;
margin-left: 150px;
width: 20px;
height: 16px;
background-image: url(../images/telegramhover.png);
background-repeat: no-repeat;
}
.mail a {
display: inline-block;
margin-left: 25px;
font-weight: 700;
text-decoration: none;
color: #5b5b5b;
}
.mail a:hover {
display: inline-block;
transition: 1s;
color: #ff1e4f;
}
.telegram a {
display: inline-block;
margin-left: 25px;
font-weight: 700;
text-decoration: none;
color: #5b5b5b;
}
.telegram a:hover {
display: inline-block;
transition: 1s;
color: #ff1e4f;
}