add color picker page

This commit is contained in:
Kartik Kankurte 2022-10-13 00:42:17 +05:30
parent 9988da9174
commit 8aae23b90d
2 changed files with 26 additions and 0 deletions

22
color-picker/index.html Normal file
View file

@ -0,0 +1,22 @@
<!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>HTML Tips and Tricks - Color Picker</title>
<link href="https://fonts.googleapis.com/css2?family=Chilanka&display=swap" rel="stylesheet">
<link rel='stylesheet' type='text/css' media='screen' href='../main.css'>
</head>
<body>
<div class="demo">
<a href="../index.html" class="home">
<img src="../home.svg" alt="home" />
</a>
<input type="color" id="color-picker"
name="color-picker" value="#E12A1F" style="margin-top: 100px;margin-bottom:50px;">
<label for="color-picker"><h1>Pick a color</h1></label>
</div>
</body>
</html>

View file

@ -91,6 +91,10 @@
<a href='./lazy-loading/index.html'>
Lazy Loading</a> - Lazy Load html images natively
</li>
<li>
<a href='./color-picker/index.html'>
Color Picker</a> - Pick the color you want !
</li>
</ul>
</div>
</body>