mirror of
https://github.com/jakejarvis/dark-mode-example.git
synced 2026-09-11 23:25:34 -04:00
Update index.html
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>Welcome to the dark side</title>
|
<title>Welcome to the dark side 🌓</title>
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
|
||||||
<link rel="stylesheet" href="dark-mode.css">
|
<link rel="stylesheet" href="dark-mode.css">
|
||||||
</head>
|
</head>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<h1>Welcome to the dark side 🌓</h1>
|
<h1>Welcome to the dark side 🌓</h1>
|
||||||
<p><a href="https://github.com/jakejarvis/dark-mode-example" target="_blank" rel="noopener">View the source code</a> or <a href="https://jarv.is/notes/dark-mode/" target="_blank" rel="noopener">read the post</a>.</p>
|
<p><a href="https://github.com/jakejarvis/dark-mode-example" target="_blank" rel="noopener">View the source code</a> or <a href="https://jarv.is/notes/dark-mode/" target="_blank" rel="noopener">read the post</a>.</p>
|
||||||
|
|
||||||
<button class="dark-mode-toggle">💡 You know you want to click this</button>
|
<button class="dark-mode-toggle">💡 You know you want to click this...</button>
|
||||||
|
|
||||||
<script async defer src="dark-mode.min.js"></script>
|
<script async defer src="dark-mode.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user