"header bootsrtap"
Bootstrap 4.1.1 Snippet by karimsharf12252

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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 ---------->
<header id="home" class="vh-100">
<div class="overlay h-100">
<div
class="
container
h-100
d-flex
align-items-center
justify-content-center
"
>
<div class="content text-white text-center">
<h6 class="fw-bolder mb-3">I am Morgan Freeman</h6>
<p class="fs-1">f</p>
</div>
</div>
</div>
</header>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#home {
background-image: url(../img/hero-bg.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
header .overlay {
position: relative;
}
header .overlay::before {
content: "";
background-color: rgba(0, 0, 0, 0.4);
width: 100%;
height: 100vh;
position: absolute;
bottom: 0;
top: 0;
}
header .content.text-white {
z-index: 999;
}
header h6 {
font-size: 4.5rem;
}
.content.text-white.text-center p::after {
content: "|";
animation-name: typing;
animation-duration: 4s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-delay: 1s;
}
@keyframes typing {
0% {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: