-
Notifications
You must be signed in to change notification settings - Fork 0
/
zvirata.html
84 lines (80 loc) · 2.91 KB
/
zvirata.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zvířata</title>
<link rel="stylesheet" href="css/zvirata.min.css">
</head>
<body>
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Cat dominance</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-link" aria-current="page" href="#">Home</a>
<a class="nav-link" href="#dominance">Dominance</a>
<a class="nav-link" href="#roztomilost">Roztomilost</a>
</div>
</div>
</div>
</nav>
<br><br><br>
<style>
.target:target {
animation-name: target;
animation-duration: 1s;
animation-delay: 1s;
border-bottom-left-radius: 1rem;
border-bottom-right-radius: 1rem;
}
@keyframes target {
0% {
background-color: rgba(0, 0, 255, 0);
}
40% {
background-color: rgba(0, 0, 255, 0.356);
}
50% {
background-color: rgba(0, 0, 255, 0.356);
}
100% {
background-color: rgba(0, 0, 255, 0);
}
}
</style>
<div class="container">
<div class="row">
<div class="col-md">
<h1>
Kočka
</h1>
<div class="card">
<img src="cat1.jpg" class="card-img-top" alt="">
<div class="card-body target"id="dominance">
<h5 class="card-title" >Dominance</h5>
<p class="card-text">Kočka je dominantní nad <b>VŠÍM</b></p>
</div>
</div>
<br><br>
<div class="card">
<img src="cat2.jpg" class="card-img-top" alt="...">
<div class="card-body target" id="roztomilost">
<h5 class="card-title">Roztomilost</h5>
<p class="card-text">Kočka láká kořist svojí roztomilostní. <br> <b class="text-danger">Pozor: Josu až moc roztomilé</b></p>
</div>
</div>
</div>
<div class="col-md-2">
Column
</div>
</div>
</div>
<br><br><br><br><br><br><br><br><br><br>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body>
</html>