-
Notifications
You must be signed in to change notification settings - Fork 0
/
flex.html
42 lines (42 loc) · 1.19 KB
/
flex.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.here{
background-color:white;
margin-inline: 50px;
border: 2px solid black;
width: 100%;
width: 820px;
gap: 10px;
height: 340px;
display: flex;
}
.img{
min-width: 70px;
height: 100%;
border-radius: 30px;
display: flex;
align-items: flex-end;
position: relative;
flex-grow: 1;
transition: flex-grow 0.5s ease;
}
.img:hover{
flex-grow: 10;
}
</style>
</head>
<body>
<div class="here">
<img class="img" src="dota_background_image.jpg" alt="">
<img class="img" src="dota_background_image.jpg" alt="">
<img class="img" src="dota_background_image.jpg" alt="">
<img class="img" src="dota_background_image.jpg" alt="">
<img class="img" src="dota_background_image.jpg" alt="">
</div>
</body>
</html>