mirror of
https://github.com/kevin-DL/example.git
synced 2026-01-11 17:54:34 +00:00
example
This commit is contained in:
4
css/index.css
Normal file
4
css/index.css
Normal file
@@ -0,0 +1,4 @@
|
||||
body {
|
||||
background-color: chocolate;
|
||||
color: darkmagenta;
|
||||
}
|
||||
19
css/main.css
Normal file
19
css/main.css
Normal 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
3
css/second.css
Normal file
@@ -0,0 +1,3 @@
|
||||
body {
|
||||
background-color: darkolivegreen;
|
||||
}
|
||||
16
index.html
Normal file
16
index.html
Normal 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
15
second_page.html
Normal 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>
|
||||
Reference in New Issue
Block a user