This commit is contained in:
2021-11-07 17:04:41 +00:00
commit f83ef2ccf6
5 changed files with 57 additions and 0 deletions

4
css/index.css Normal file
View File

@@ -0,0 +1,4 @@
body {
background-color: chocolate;
color: darkmagenta;
}

19
css/main.css Normal file
View File

@@ -0,0 +1,19 @@
body {
min-height: 100vh;
}
p {
padding: 0;
}
.title {
font-size: 3rem;
color: chartreuse;
font-style: oblique;
text-decoration: none;
}
.title:hover {
font-weight: bold;
text-decoration: underline;
}

3
css/second.css Normal file
View File

@@ -0,0 +1,3 @@
body {
background-color: darkolivegreen;
}

16
index.html Normal file
View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" href="css/index.css">
<title>Document</title>
</head>
<body>
<h1 class="title"> Home Page </h1>
<a href="second_page.html"> Second Page </a>
</body>
</html>

15
second_page.html Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/second.css">
<title>Document</title>
</head>
<body>
<h1 class="title"> Second </h1>
<a href="index.html"> Home </a>
</body>
</html>