Upload files to "Chapter 2/practace"
This commit is contained in:
23
Chapter 2/practace/desert.css
Normal file
23
Chapter 2/practace/desert.css
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
body {
|
||||||
|
background-image: url("./img/greyback.jpg");
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin: 0px 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 28pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 26pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
p, li {
|
||||||
|
font-size: 16pt;
|
||||||
|
}
|
||||||
|
|
||||||
31
Chapter 2/practace/desert.html
Normal file
31
Chapter 2/practace/desert.html
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Desert Plant</title>
|
||||||
|
<link rel="stylesheet" href="desert.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<div class="plant-card">
|
||||||
|
<h2 class="plant-card-header"></h2>
|
||||||
|
|
||||||
|
<div class="plant-card-body">
|
||||||
|
<div class="plant-card-info">
|
||||||
|
<p></p>
|
||||||
|
<p></p>
|
||||||
|
<p></p>
|
||||||
|
</div>
|
||||||
|
<img class="plant-card-img" href="">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="plant-card-footer"></p>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
25
Chapter 2/practace/style.css
Normal file
25
Chapter 2/practace/style.css
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
body {
|
||||||
|
background-image: url("./img/greyback.jpg");
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
main, footer {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin: 0px 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
p, li {
|
||||||
|
font-size: 16pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 28pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 26pt;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user