-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
50 lines (46 loc) · 2.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Capture Screenshot</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.min.css">
</head>
<body>
<main>
<div class="hero">
<span class="logo">Love..</span>
<div class="container center_all">
<form>
<input type="text" name="pName" id="pName" placeholder="Special one" maxlength="20">
<input type="text" name="uName" id="uName" placeholder="Name" maxlength="20">
<textarea name="msg" id="msg" rows="2" placeholder="Special msg here" maxlength="250"></textarea>
</form>
<button id="captureBtn">Share Screenshot</button>
</div>
<div class="capture-area">
<div class="foreground-text" id="captureArea">
<span id="pNameDisplayContainer">Dear, <b id="pNameDisplay">special one</b></span>
<br>
<span id="msgDisplay"><p id="message">Special message here</p></span>
<br>
<span id="uNameDisplayContainer">Your <b id="uNameDisplay">name</b></span>
</div>
</div>
</div>
</main>
<div class="screenshotText hide" id="screenshotText" >
<span class="container">Recent Screenshots</span>
</div>
<div id="screenshotsContainer" class="container">
<div id="screenshotsContainerchild"></div>
</div>
<code class="container">created by <a href="https://www.instagram.com/zxdhiru"></zxdhiru></a></code>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
<script src="script.min.js"></script>
<script src="./formhandler.min.js"></script>
</body>
</html>