forked from timkang95/assignment3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathassignment3.css
More file actions
39 lines (34 loc) · 739 Bytes
/
assignment3.css
File metadata and controls
39 lines (34 loc) · 739 Bytes
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
/*styles for assignment 3*/
@import url('https://fonts.googleapis.com/css?family=Raleway');
#main{
margin: auto;
width: 75%;
}
body{
font-size: 62.5%;
width: 100%;
margin: 0 auto;
}
h1{
text-align: center;
font-family: 'Raleway', sans-serif;
font-size: 2.5em;
}
section{
background: #ccc;
border: 1px solid #000;
border-radius: 5px;
cursor: pointer;
font-family: 'Raleway', sans-serif;
font-size: 2em;
margin: 15px;
padding: 5px;
text-align: center;
transition: box-shadow 0.2s, transform 0.2s;
}
section:hover{
-webkit-box-shadow: 0px 4px 24px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 4px 24px 0px rgba(0,0,0,0.75);
box-shadow: 0px 4px 24px 0px rgba(0,0,0,0.75);
transform: scale(1.2);
}