-
Notifications
You must be signed in to change notification settings - Fork 0
/
master.css
78 lines (69 loc) · 1.35 KB
/
master.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
/*
* Master CSS
*/
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}
body{
font-family : "Arial, Helvetica, sans-serif";
font-weight: bold;
text-transform: uppercase;
}
.flex-container{
height: 500px;
background-color: #a7a4a4;
color: #ffffff;
margin:20px;
border: 15px solid #4E5C93;
display:flex;
}
.item{
min-height: 200px;
min-width: 200px;
border: 5px solid #eeeeee;
background-color: #4E5C93;
color: #ffffff;
margin:10px;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-basis: 450px;
}
/*
* ORDINAMENTO SEMPLICE
*/
/*
* SHRINK
* quando si stringono hanno differente ratio
*/
.item:nth-child(1){
flex-shrink: 1;
background: url("https://picsum.photos/1000?");
background-size:cover;
}
.item:nth-child(2){
flex-shrink: 2;
background: url("https://picsum.photos/1000");
background-size:cover;
}
.item:nth-child(3){
flex-shrink: 3;
background: url("https://picsum.photos/1000/?");
background-size:cover;
}
/*TESTO centrale*/
/* .item:nth-child(1)>p{
text-transform: lowercase;
font-style: italic;
line-height: 1.6rem;
letter-spacing: .5px;
word-spacing: 3px;
font-size:20px;
background:#00000088;
height: 100%;
align-items: center;
display: flex;
} */