-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.css
43 lines (39 loc) · 977 Bytes
/
css.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
.flex-container {
/* We first create a flex layout context */
display: flex;
/* Then we define the flow direction
and if we allow the items to wrap
* Remember this is the same as:
* flex-direction: row;
* flex-wrap: wrap;
*/
flex-flow: row;
/* Then we define how is distributed the remaining space */
justify-content: center;
padding: 0;
margin: 0;
list-style: none;
min-width: 450px;
width: 100%;
color: black;
border-style: solid;
}
.flex-item {
background: white;
padding: 5px;
width: 100px;
height: 150px;
margin-top: 10px;
line-height: 150px;
color: black;
font-weight: bold;
font-size: 3em;
text-align: center;
flex: 1;
flex-basis: 'content';
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select:none;
user-select:none;
-o-user-select:none;
}