-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlesson6
More file actions
98 lines (86 loc) · 1.49 KB
/
lesson6
File metadata and controls
98 lines (86 loc) · 1.49 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
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
97
98
/*
inherit
opicty >> شفافيه للمحتوي كاملا
----------------
position
relative >>>> بيتحرك لوحده
absoulte >>> بيطلع برا ال work flow وباقي العناصر بتعتبره مش موجود
وبتالي اقدر احركه في اي مكان من غير ميأثر علي باقي العناصر
fixed
sticky >>> top 0;
z-index >>> للتحكم في الطبقات اعلي رقم بيكون ف الاول
div {
color: white;
width: 100px;
padding: 10px;
text-align: center;
position: absolute;
}
.one {
background-color: red;
left: 20px;
top: 20px;
z-index: 3;>>>>عشان يكون اعلي طبقه
}
.two {
background-color: green;
left: 15px;
top: 15px;
z-index: 2;
}
.three {
background-color: blue;
z-index: 1;
}
list
list-style position: inside , outside
list-style >> none
padding :0
margin 0
soude classes
.one {
background-color: red;
color: white;
}
.two {
background-color: #EEE;
width: 100px;
height: 100px;
}
a {
color: green;
text-decoration: none;
}
a:hover {
color: red;
}
a:visited {
color: blue;
}
:empty {
border: 10px solid red;
}
.ch:checked {
display: none;
}
.in:focus {
border-color: red;
outline: none
}
*/
.one{
background-color: red;
width: 100px;
color: white;
}
.one:hover{
background-color: blue;
border-radius: 5px;
}
a {
color: green;
text-decoration: none;
}
a:visited {
color: red;
}