-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout-button.html
More file actions
51 lines (49 loc) · 1.57 KB
/
layout-button.html
File metadata and controls
51 lines (49 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<title>HTML Boilerplate</title>
<meta name="author" value="Alexandra Dedok" />
<meta name="description" value="Transitions" />
<meta name="keywords" content="HTML, CSS" />
<style>
a.button1 {
display: block;
background: #880000;
border: 3px solid #000000;
color: #FFFFFF;
padding: 20px;
margin: 20px;
border-radius: 15px;
width: 200px;
text-align: center;
font-size: 2rem;
font-weight: bold;
text-decoration: none;
box-shadow: #880000;
}
a.button2 {
display: block;
background: #880000;
border: 3px solid #000000;
color: #FFFFFF;
padding: 20px;
margin: 20px;
border-radius: 15px;
width: 200px;
text-align: center;
font-size: 2rem;
font-weight: bold;
text-decoration: none;
box-shadow: #880000;
transition: background 1s ease-in;
}
a.button1:hover, a.button2:hover {
background: rgba(200, 0, 0, 0.8);
}
</style>
</head>
<body>
<a class="button1" href="https://google.com">Visit Google</a>
<a class="button2" href="https://google.com">Visit Google</a>
</body>
</html>