-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuoteCard.html
56 lines (54 loc) · 2.07 KB
/
QuoteCard.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Quote Card</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1 ">
<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=Kanit:wght@500&display=swap" rel="stylesheet">
<style>
body{
padding:0;
margin:0;
background:linear-gradient(30deg,rgb(125, 255, 255),rgb(255, 189, 165));
display: flex;
height:100vh;
justify-content: center;
align-items: center;
}
.textbx{
height:40vh;
width:60vh;
background:linear-gradient(30deg,rgb(120, 2, 147),rgb(255, 0, 128));
border-radius: 45%;
border:solid 3px rgb(255, 0, 128);
outline-offset: 10px;
outline:solid 4px rgb(255, 0, 128);
display:flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 0 0 10px black;
}
p{
font-family: 'Kanit', sans-serif;
font-size: 32px;
color:white;
padding:0;
margin:0;
text-align: center;
}
span{
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 25px;
}
</style>
</head>
<body>
<div class="textbx">
<p>"Simplicity is the ultimate sophistication"</p>
<p><span>~Leonardo da Vinci</span></p>
</div>
</body>
</html>