-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path8.html
96 lines (76 loc) · 1.29 KB
/
8.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
.ab{
height: 100px;
width: 100px;
/*background: url('img/36304.jpg');*/
background: rgb(235, 64, 52);
transform: rotate(20deg);
box-shadow: 3px 3px 3px 3px maroon;
}
.ab:hover{
color: white;
/*background: green;*/
}
.ac{
height: 100px;
width: 100px;
background: blue;
margin-top: -50px;
margin-left: 50px;
opacity: .1;
}
.parent{
height: 300px;
width: 300px;
background: yellow;
}
.child{
height: 100px;
width: 100px;
background: pink;
display: none;
/*opacity: 0;*/
}
.parent:hover .child{
display: block;
background: blueviolet;
}
/* .list1:hover li{
background: green;
}*/
.list1 li:hover{
background: green;
}
.list1 li{
display: inline;
}
.lm:hover{
color: red;
}
</style>
</head>
<body>
<img src="img/36307.jpg" height="100px">
<p class="lm">Hello</p>
<div class="ab">
Hello, hi my name is naveen.
</div>
<div class="ac">
</div>
<div class="parent">
<div class="child"></div>
hello
</div>
<ul class="list1">
<li><a href="">Home</a></li>
<li><a href="">About</a></li>
<li><a href="">Contact</a></li>
<li><a href="">Gallery</a></li>
</ul>
</body>
</html>