-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtut18.html
62 lines (53 loc) · 1.7 KB
/
tut18.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
<!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>Pseudo selectors and more designing</title>
<style>
.container {
border: 2px solid red;
background-color: aquamarine;
padding: 34px;
margin: 34px auto;
width: 666px;
}
a {
text-decoration: none;
color: black;
}
a:hover {
color: rgb(226, 29, 29);
background-color: rgb(185, 185, 218);
}
a:visited {
background-color: rgb(183, 255, 0);
}
.btn {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
background: rgb(241, 208, 241);
padding: 6px;
border: none;
cursor: pointer;
font-size: 13px;
border-radius: 4px;
}
/* .btn:hover {
color: yellowgreen;
background-color: brown;
border: 2px solid black;
} */
</style>
</head>
<body>
<div class="container" id="cont1">
<h3>This is my heading</h3>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ex itaque culpa deleniti nam inventore magnam!
Ducimus
explicabo, accusantium, ipsa ullam velit laborum minus vitae obcaecati iure, sed dolores omnis harum.</p>
<a href="https://google.com" class="btn">Read more</a>
<button class="btn">Contact us</button>
</div>
</body>
</html>