-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyling_and_buttons.html
53 lines (51 loc) · 1.68 KB
/
styling_and_buttons.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"content="width=device-width,initial-scale">
<meta http-equiv="X-UA-Compatible"content="ie-edge">
<title>STYLING AND BUTTONS</title>
</head>
<style>
.container{
border: 2px dashed black;
background-color: rgb(171, 241, 224);
padding: 10px;
margin: 10px ;
width: 800px;
}
a{
text-decoration: none;
color: black;
/* background-color: rgb(144, 45, 83); */
}
a:hover{
color: rgb(88, 27, 106);
background-color: rgb(144, 45, 83);
}
a:visited{
color: greenyellow;
}
a:active{
color:blue;
background-color: pink;
}
.btn{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
background-color: bisque;
padding: 6px;
border: none;
cursor: grab;
font-size: 13px;
border-radius: 5px;
}
</style>
<body>
<div class="container">
<h1>This is my head</h1>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Aspernatur unde officia sapiente, ratione sed ullam labore maiores blanditiis quasi tempore, cum ipsa harum, quaerat totam architecto tempora? Perferendis eveniet voluptas unde iure repellat. Atque?</p>
<a href="form.html"class="btn">Read more</a>
<button class="btn">Contact us</button>
</div>
</body>
</html>