codepens/building-a-realtime-photoshop/dist/index.html

57 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CodePen - Building a Realtime Photoshop 🎨</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<div class="container">
<img src="https://images.unsplash.com/photo-1508671323699-6df22ecaec2a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=250&q=80" id="main-image" />
<div class="toolbox">
<label>
Blur
<input id='blur' max='20' min='0' step='1' type='range' value='0'>
</label>
<label>
Brightness
<input id='brightness' max='1' min='0' step='0.1' type='range' value='1'>
</label>
<label>
Contrast
<input id='contrast' max='200' min='0' step='1' type='range' value='100'>
</label>
<label>
Grayscale
<input id='grayscale' max='100' min='0' step='1' type='range' value='0'>
</label>
<label>
Hue
<input id='hue' max='360' min='0' step='1' type='range' value='0'>
</label>
<label>
Invert
<input id='invert' max='100' min='0' step='1' type='range' value='0'>
</label>
<label>
Opacity
<input id='opacity' max='100' min='0' step='1' type='range' value='100'>
</label>
<label>
Saturate
<input id='saturate' max='200' min='0' step='1' type='range' value='100'>
</label>
<label>
Sepia
<input id='sepia' max='100' min='0' step='1' type='range' value='0'>
</label>
</div>
</div>
<!-- partial -->
<script src="./script.js"></script>
</body>
</html>