-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFancy_Button.html
More file actions
55 lines (48 loc) · 1.43 KB
/
Fancy_Button.html
File metadata and controls
55 lines (48 loc) · 1.43 KB
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
<!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>Button</title>
<!--Google Fonts Link-->
<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:ital,wght@0,100;0,200;0,400;0,500;0,700;1,300&display=swap"
rel="stylesheet">
<!--Style tag-->
<style>
body {
padding: 0%;
margin: 0%;
background-color: rgb(1, 53, 114);
font-family: 'Poppins';
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
button {
width: 160px;
height: 70px;
margin: auto;
padding: 10px;
background-color: rgb(1, 53, 114);
color: orange;
border-color: orange;
transition: all 0.5s ease;
}
button:hover {
cursor: pointer;
color: white;
border-color: greenyellow;
box-shadow: rgb(207, 255, 117) 0px 20px 30px -10px;
transform: translateY(-0.25em);
}
</style>
</head>
<body>
<button>Hover me!</button>
</body>
</html>