-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexample.css
41 lines (38 loc) · 915 Bytes
/
example.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
@import url(http://fonts.googleapis.com/css?family=Roboto);
* {
box-sizing: border-box;
}
body {
font-family: 'Roboto', Helvetica, sans-serif;
color: #212121;
background-color: #e3f2fd;
}
button.open-modal {
position: fixed;
top: 20%;
left: 50%;
padding: 1em;
font-size: 2em;
width: 10em;
margin-left: -5em;
cursor: pointer;
background-color: #fafafa;
color: #212121;
border: none;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
border-radius: 3px;
}
.modal {
background-color: #fafafa;
width: 20rem;
padding: 1rem;
border-radius: 3px;
}
.modal-overlay {
background-color: rgba(0, 0, 0, .3);
display: flex;
justify-content: center;
align-items: center;
}