forked from rohan1917/FSWDT-JAN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathday-12-boxModelDisplayAndPosition.css
101 lines (84 loc) · 1.54 KB
/
day-12-boxModelDisplayAndPosition.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
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
99
100
101
/* * {
box-sizing: border-box;
/* padding: 0;
margin: 0;
} */
/* h6{
background-color: black;
color: white;
border: 2px solid red; */
/* padding-left: 15px; */
/* padding: 10px 0 0 15px; */
/* margin-left: 20px; */
/* margin: 0 0 0 20px;
} */
/* top right bottom left (clk wise directions) */
/*
Spacings:
Padding => Internal to Box/Border
Margin => External to Box/Border
*/
/* ctrl + alt + down key */
/* block */
/* .displayInCss1{
background-color: yellow;
color: aqua;
height: 55px;
width: 40px;
display: block;
}
.displayInCss2{
display: block;
background-color: red;
height: 45px;
color: white;
} */
/*
*{
padding: 0;
margin: 0;
} */
/* inline */
/* .displayInCss1{
background-color: yellow;
color: aqua;
height: 55px;
width: 40px;
display: inline;
}
.displayInCss2{
display: inline;
background-color: red;
height: 45px;
color: white;
} */
/* inline-block */
/* .displayInCss1{
background-color: yellow;
color: aqua;
height: 55px;
width: 40px;
display: inline-block;
}
.displayInCss2{
display: inline-block;
background-color: red;
height: 45px;
width: 80px;
color: white;
} */
/* Static Position */
/* .positionInCss{
position: static;
background-color: black;
color: white;
border: 1px solid red;
} */
/* Relative Position */
.positionInCss{
position: static;
top: 80px;
background-color: black;
color: white;
border: 1px solid red;
}