forked from Foysalmjhf/dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwork.html
More file actions
53 lines (43 loc) · 1.06 KB
/
work.html
File metadata and controls
53 lines (43 loc) · 1.06 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<style>
* {
margin: 0px;
padding: 0px;
font-family: 'tahoma', 'Montserrat', century gothic;
scroll-behavior: smooth;
box-sizing: border-box;
}
/* Container holding the image and the text */
.container {
position: relative;
}
/* Bottom right text */
.text-block {
position: absolute;
bottom: 0px;
left: 180px;
background-color: black;
color: white;
padding-left: 20px;
padding-right: 20px;
}
</style>
<section>
<div class="container">
<img src="img/graphic.png" alt="Graphic_Design" style="width:auto; height:500px; border-radius: 15px;">
<img src="img/webdesign.png" alt="web_Design" style="width:auto; height:500px; border-radius: 15px;">
<div class="text-block">
<h4>Nature</h4>
<p>What a beautiful sunrise</p>
</div>
</div>
</section>
</body>
</html>