-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.css
More file actions
55 lines (47 loc) · 1.01 KB
/
styles.css
File metadata and controls
55 lines (47 loc) · 1.01 KB
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
body {
font-family: Helvetica;
text-align: center;
font-size: 20px;
}
.box {
background: white;
height: 1.25em;
width: 7em;
border: 1px solid #bbb;
text-align: center;
margin: 30px auto;
padding: .5em 1em;
border-radius: 4px;
transition: all 1s ease;
}
.slide-down {
box-shadow: 0 3px 0 black;
border: 1px solid black;
transition: all 200ms linear;
}
/* Examples of transforms that are activated on hover*/
.rotate:hover {
transform: rotate(720deg);
-webkit-transform: rotate(9000deg);
}
.enlarge:hover {
transform: scale(1.5);
-webkit-transform: scale(1.5);
}
.shrink:hover {
transform: scale(.5);
-webkit-transform: scale(.5);
}
.slide-left:hover {
transform: translate(-50px, 0px);
-webkit-transform: translate(-50px, 0px);
}
.slide-down:active {
transform: translate(0, 4px);
-webkit-transform: translate(0, 4px);
box-shadow: none;
}
.skew-right:hover {
transform: skew(0, 20deg);
-webkit-transform: skew(0, 20deg);
}