-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcssBorderEffect.html
More file actions
53 lines (51 loc) · 1.13 KB
/
cssBorderEffect.html
File metadata and controls
53 lines (51 loc) · 1.13 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
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS BORDER Hover Effect,FontStyling Pseudo Selector,Span Tag </title>
<style type="text/css">
#one{
background-color: rebeccapurple;
}
#two{
background-color: greenyellow;
}
#three{
background-color: blue;
}
.common{
height: 200px;
width: 300px;
border-style: groove ;
<!-- you can search borderstyle mostly from w3school -->
}
p{
font-size: 200%;
font-family: 'Courier New', Courier, monospace;
margin: 0;
padding: 0;
}
a{
text-decoration: none;
color: black;
}
a:hover{
text-decoration: underline;
color: yellow;
}
</style>
</head>
<body>
<div id="one" class="common">
<p>this is the first para of div <span style="color:yellow;">This is a underline para</span></p>
<a href="www.google.com">Google</a>
</div>
<div id="two" class="common">
<p>this is the first para of div</p>
</div>
<div id="three" class="common">
<p>this is the first para of div</p>
</div>
</body>
</html>