-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.css
83 lines (70 loc) · 1.33 KB
/
sample.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
.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 wrap;
/* Then we define how is distributed the remaining space */
justify-content: center;
padding: 0;
margin-top: 150px;
list-style: none;
}
.flex-item1 {
background: #e38826;
width: 300px;
height: 350px;
margin-top: 0px;
color: white;
font-weight: bold;
font-size: 1.5em;
padding: 10px;
text-align: center;
font-family: lexenddeca;
}
.flex-item2 {
background: #006970;
padding: 10px;
width: 300px;
height: 350px;
margin-top: 0px;
color: white;
font-weight: bold;
font-size: 1.5em;
text-align: center;
}
.flex-item3 {
background: #004241;
padding: 10px;
width: 300px;
height: 350px;
margin-top: 0px;
color: white;
font-weight: bold;
font-size: 1.5em;
text-align: center;
}
.img{
}
.button{
padding: 5px;
color: blue;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}
.button:hover {
background-color: transparent;
}
h2{
font-family: Bahnschrift Condensed;
}
p{
font-family: Arial;
font-size: 20px;
}