forked from RahulBRB/ID-Card-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (56 loc) · 2.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="container">
<div class="id-card">
<h2>Sample ID Card Maker <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23" width="40" height="40"><path d="M5 8V20H19V8H5ZM5 6H19V4H5V6ZM20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM7 10H11V14H7V10ZM7 16H17V18H7V16ZM13 11H17V13H13V11Z" fill="rgba(7,7,173,1)"></path></svg></h2>
<div class="preview">
<div class="image" id="Profile">
<p id="droptext">Drag And Drop</p>
<img id="user-image" style="display: none;" src="">
</div>
<div class="inner">
<h4>Name</h4>
<p id="user-name">John Doe</p>
<h4>Job Title</h4>
<p id="user-title">Employee</p>
<h4>Location</h4>
<p id="user-location">City, Country</p>
<h4>Phone</h4>
<p id="user-phone">123-456-7890</p>
<h4>Email</h4>
<p id="user-email">[email protected]</p>
</div>
</div>
<div class="About">
<h4>About</h4>
<p id="user-about">About Me</p>
</div>
<div class="sliders">
<label>Zoom <input type="range" id="zoom-slider" min="0.5" max="3" step="0.01" value="1"></label>
<label>Rotate <input type="range" id="rotate-slider" min="-180" max="180" step="1" value="0"></label>
</div>
<form id="id-card-form">
<input type="text" id="name" placeholder="Full Name">
<input type="text" id="title" placeholder="Job Title">
<input type="text" id="location" placeholder="City, Country">
<input type="tel" id="phone" placeholder="Phone Number">
<input type="email" id="email" placeholder="Email Address">
<input type="url" id="image-url" placeholder="Profile Image URL">
<textarea id="about" placeholder="About Me (Max 200 characters)" maxlength="200" style="resize: none;"></textarea><br>
<label for="colorpicker">Background color:</label>
<input type="color" id="coll-back">
<label for="colorpicker">Header Color:</label>
<input type="color" id="coll-head">
<label for "colorpicker">text Color:</label>
<input type="color" id="coll-text">
<button id="generate-button">Generate ID Card</button>
</form>
</div>
</div>
<script src="script.js"></script>
</body>
</html>