Merge pull request #12 from phuocduong-agilityio/training/chapter-10

Init sample code training chapter 10
This commit is contained in:
Loi Phan
2023-06-20 14:06:20 +07:00
committed by GitHub
2 changed files with 63 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
* {
font-family: Arial, Verdana, sans-serif;
}
h1 {
font-family: "Courier New", monospace;
}
i {
color: green;
}
i {
color: red;
}
b {
color: pink;
}
p b {
color: blue !important;
}
p b {
color: violet;
}
p#intro {
font-size: 100%;
}
p {
font-size: 75%;
}
+28
View File
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/style.css" type="text/css" rel="stylesheet" />
<title>Introducing CSS</title>
<style type="text/css">
h1+p {
background-color: #ee3e80;
}
</style>
</head>
<body>
<h1>Potatoes</h1>
<p id="intro">There are <i>dozens</i> of different
<b>potato</b> varieties.
</p>
<p>They are usually described as early, second early
and maincrop potatoes.</p>
<p>They are usually described as early, second early
and maincrop potatoes.</p>
</body>
</html>