-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdisplayNavbar.css
73 lines (72 loc) · 935 Bytes
/
displayNavbar.css
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
/*
Block: Top Bottom Margin Respected
Inline: Top Bottom Margin Not Respected
Mobile Navbar
List-style-type: property
descendant selectors
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
ul li {
list-style-type: none;
}
ul li a {
text-decoration: none;
text-transform: capitalize;
letter-spacing: 2px;
background: #222;
color: #f150f1;
display: block;
padding: 5px 5px;
margin: 10px 10px;
}
/*
Border-Box
*/
.box-1,
.box-2,
.box-3 {
width: 200px;
height: 200px;
color: white;
}
.box-1 {
background: red;
}
.box-2 {
background: blue;
}
.box-3 {
background: green;
}
/*
display:none
opacity: 0
visibility: hidden
*/
div {
background: blue;
margin: 10px;
color: white;
}
.none {
display: none;
}
.opacity-1 {
opacity: 1;
}
.opacity-5 {
opacity: 0.35;
}
.opacity-0 {
opacity: 0;
}
.visibility {
visibility: hidden;
}