web-html5-scripts/web-techniques/easy-dark-mode/index.html

20 lines
406 B
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Easy Dark Mode</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container">
<h1>Light / Dark Mode</h1>
<input class="container_toggle" type="checkbox" id="switch" name="mode">
<label for="switch">Toggle</label>
</div>
<script src="./script.js"></script>
</body>
</html>