-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (72 loc) · 1.32 KB
/
style.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
@charset "UTF-8";
* {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
border-radius: 2px;
}
body {
background-image: url(fundo.jpg);
background-position: center;
background-repeat: no-repeat;
}
section {
background-color: aliceblue;
opacity: .7;
margin: 40vh auto;
padding: 20px;
width: max-content;
height: max-content;
}
.container { /*principais regras de container*/
opacity: 1;
padding: 10px;
border: 2px solid black;
width: 300px;
height: 300px;
margin-bottom: 10px;
display: flex;
text-align: center;
justify-content: space-around; /*horizontal*/
align-items: center; /*vertical*/
flex-wrap: wrap; /*area máxima atingida > preenche a próx*/
}
.p {
width: 300px;
display: block;
text-align: center;
font-weight: bolder;
}
.item {
border: 2px solid red;
height: 50px;
width: 50px;
padding-top: 25px;
}
.box {
border: 2px solid blue;
height: 50px;
margin: 25px;
flex: 1 1 50px;
padding-top: 25px;
/*grow, shrink, bases*/
}
/* #item-1 {
flex-grow: 2;
}
#item-2, #item-3 {
flex-grow: 1;
}
#item-2 {
flex-basis: 100px;
}
#item-3 {
flex-shrink: 2;
} */
#item-1 {
order: 2;
}
#item-2 {
order: 3;
}
#item-3 {
order: 1;
}