-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (42 loc) · 1.51 KB
/
index.html
File metadata and controls
42 lines (42 loc) · 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
html{background-color:black;}
img{
width: 50%;
margin-top: 5%;
margin-left: 25%;
margin-right: 25%;
background-color: aqua; border: 5px solid WHITE;}
p{ text-align: center;
}
</style>
</head>
<body>
<img src="./assets/images/daenerys.jpeg" alt="young dragon">
<p style="color: white; font-size: 40pt;" >THAT SPECIAL MOMENT<br />
</p>
<p
style="font-size: x-large; color: white;" >When you find the perfect avacado at the supermarket
</p>
</body>
</html>
<!--
TODO: Create a motivational post website.
Style it how ever you like.
Look at the goal image for inspiration.
But it must have the following features:
1. The main h1 text should be using the Regular Libre Baskerville Font from Google Fonts:
https://fonts.google.com/specimen/Libre+Baskerville
2. The text should be white and background black.
3. Add your own image into the images folder inside assets. It should have a 5px white border.
4. The text should be center aligned.
5. Create a div to contain the h1, p and img elements. Adjust the margins so that the image and text are centered on the page.
Hint: You horizontally center a div by giving it a width of 50% and a margin-left of 25%.
Hint: Set the image to have a width of 100% so it fills the div.
6. Read about the text-transform property on MDN docs to make the h1 uppercase with CSS.
https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform
-->