-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
93 lines (64 loc) · 1.07 KB
/
styles.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
h3 {
/* background-color: lightblue; */
}
p {
}
span {
}
div {
}
a {
}
img {
}
button {
}
input {
}
/*
these will now be displayed differently
*/
span.different1 {
display: block;
}
div.different2 {
display: inline;
}
h3.different3 {
display: inline-block;
}
/*
^ this isn't always a good thing to do since you're undoing the way certain tags were
made to be displayed. if possible, always use the right semantic tag for the job.
*/
/* FLEX TIME */
.container {
/* display: flex; */
background-color: orange;
}
.container2 {
width: 300px;
height: 300px;
border: 2px solid red;
/* display: flex;
justify-content: center;
align-items: center; */
}
.container3 {
border: 2px solid blue;
/* display: flex;
flex-direction: column;
align-items: center;
justify-content: center; */
}
.container3 div {
background-color: lightcoral;
border: 1px solid lightblue;
}
.container3 .nested-container {
width: 50%;
/* display: flex; */
/* flex-direction: column; */
/* justify-content: center; */
/* align-items: center; */
}