-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1.html
106 lines (105 loc) · 2.62 KB
/
1.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
header{
width: 100%;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
border-bottom: 2px solid black;
background: #C1903D;
}
a{
color: black;
font-size: 20px;
padding: 5px 20px;
text-decoration: none;
text-transform: uppercase;
font-weight: bolder;
transition: 0.9s;
}
a:hover{
color: blue;
background-color: floralwhite;
}
div{
display: flex;
justify-content: center;
align-items: center;
height: 500px;
flex-direction: column;
position: static;
padding-top: 150px;
}
button{
padding: 5px 20px;
background-color: lightskyblue;
border: 1px solid gray;
font-size: 20px;
text-transform: uppercase;
font-weight: bolder;
}
button:hover{
background: transparent;
transition: 0.5s;
letter-spacing: 2px;
color: blue;
}
h1{
text-transform: uppercase;
}
footer{
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
height: 30px;
display: grid;
align-items: center;
font-weight: bolder;
border-top: 2px solid gray;
background: #C1903D;
}
a:focus{
color: blue;
}
.color{
font-size: 1.5rem;
color:white;
}
h1{
border: 2px solid black;
padding: 10px;
background: gray;
width: 300px;
text-align: center;
}
</style>
</head>
<body>
<header>
<a href="#h1">Simple</a>
<a href="#h2">Medium</a>
<a href="#h3">Pro</a>
</header>
<div>
<h1>Color:<span class="color">white</span></h1>
<br><br>
<button id="btn" class="btn">Click Me</button>
</div>
<footer>
<span>By Vasavi</a> | <i class="fa fa-copyright" aria-hidden="true"></i>
2021 All rights reserved.</span>
</footer>
<script src="12.js"></script>
</body>
</html>