-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtut22.html
More file actions
49 lines (47 loc) · 1.38 KB
/
tut22.html
File metadata and controls
49 lines (47 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width= , initial-scale=1.0">
<title>Pseudo selectors and more designing</title>
<style>
.container{
border:2px solid red ;
background-color: rgb(180, 245, 180);
padding: 34px;
margin:34px auto;
width: 666px;
}
a{
text-decoration: none;
color:black;
}
a:hover{
color: rgb(238, 3, 101);
}
a:visited{
color:chartreuse;
}
/* when clicked */
a:active{
color: blue;
}
.btn{
background-color: rgb(243, 132, 155) ;
padding: 5px;
border:none;
cursor: pointer;
font-size: 13px;
border-radius: 4px;
}
</style>
</head>
<body>
<div class="container" id="cont1">
<h3>This is my heading</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque eligendi quod exercitationem, consequatur culpa itaque tempore eaque, laboriosam maiores eius ipsum aliquid explicabo placeat pariatur dolore recusandae dolores velit amet voluptates dolorem iusto deserunt?</p>
<a href="" class="btn">Read more</a>
<button class="btn">Contact us</button>
</div>
</body>
</html>