From 94d43bf8b27228bdc4805c13f1c076209a511eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20T=C3=B6rnqvist?= <simto830@student.liu.se> Date: Fri, 10 Sep 2021 09:26:14 +0200 Subject: [PATCH] Tried to add css --- index.html | 20 ++++++++++++++------ style.css | 3 +++ 2 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 style.css diff --git a/index.html b/index.html index a7de4db..627eae0 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,16 @@ <html> -<head> - <title>Home</title> -</head> -<body> - <h1>This is a test page :)</h1> -</body> + + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=yes"> + + <link rel="stylesheet" href="client.css" /> + <title>Home</title> + + </head> + + <body> + <h1 class="my-class">This is a test page :)</h1> + </body> + </html> diff --git a/style.css b/style.css new file mode 100644 index 0000000..8b04121 --- /dev/null +++ b/style.css @@ -0,0 +1,3 @@ +.my-class { + color: red; +} -- GitLab