100-project-100-days-website/100_projects/8-light-&-dark-theme-toggle/inedx.html
2023-03-01 17:21:02 +03:00
Ask

25 lines
901 B
HTML

{6cf844df03c6283c82faa3e410bbb36dbc289941 true 901 inedx.html 0xc001e78850}

<!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">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div>
<input type="checkbox" class="checkbox" id="checkbox">
<label for="checkbox" class="label">
<ion-icon class="moon" name="moon-outline"></ion-icon>
<ion-icon class="sun" name="sunny-outline"></ion-icon>
<div class="ball"></div>
</label>
</div>
<p>Light & Dark Theme Toggle with CSS and JavaScript By x39OME</p>
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
<script src="main.js"></script>
</body>
</html>