forked from JustJenFelice/lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
88 lines (74 loc) · 2.35 KB
/
index.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
84
85
86
87
88
html {
background: url("http://files.simurai.com/tumblr/img/bg.gif") repeat fixed 0 0 transparent;
}
body {
margin: 0;
padding: 50px;
text-align: center;
background: transparent url(http://files.simurai.com/tumblr/img/bg_glow.png) no-repeat fixed center bottom;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
li {
display: inline-block;
margin: 10px;
}
li a {
display: block;
position: relative;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
background: hsla(0,0%,0%,.5);
-webkit-box-shadow: inset 0 2px 5px hsla(0,0%,0%,.3), 0 1px 2px hsla(0,0%,100%,1);
-moz-box-shadow: inset 0 2px 5px hsla(0,0%,0%,.3), 0 1px 2px hsla(0,0%,100%,1);
box-shadow: inset 0 2px 5px hsla(0,0%,0%,.3), 0 1px 2px hsla(0,0%,100%,1);
}
li img {
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
display: block;
width: 200px;
-webkit-transform: scale(1) translateZ(0);
-moz-transform: scale(1) translateZ(0);
-o-transform: scale(1) translateZ(0);
-ms-transform: scale(1) translateZ(0);
transform: scale(1) translateZ(0);
-webkit-transition: -webkit-transform .6s cubic-bezier(.5,.1,.1,1);
-moz-transition: -moz-transform .6s cubic-bezier(.5,.1,.1,1);
-o-transition: -o-transform .6s cubic-bezier(.5,.1,.1,1);
-ms-transition: -ms-transform .6s cubic-bezier(.5,.1,.1,1);
transition: transform .6s cubic-bezier(.5,.1,.1,1);
}
li a:hover img {
-webkit-transform: scale(.94, .9);
-moz-transform: scale(.94, .9);
-o-transform: scale(.94, .9);
-ms-transform: scale(.94, .9);
transform: scale(.94, .9);
-webkit-transition: -webkit-transform .2s cubic-bezier(.5,.1,.1,1);
-moz-transition: -moz-transform .2s cubic-bezier(.5,.1,.1,1);
-o-transition: -o-transform .2s cubic-bezier(.5,.1,.1,1);
-ms-transition: -ms-transform .2s cubic-bezier(.5,.1,.1,1);
transition: transform .2s cubic-bezier(.5,.1,.1,1);
}
li a:active img {
-webkit-transform: scale(.8);
-moz-transform: scale(.8);
-o-transform: scale(.8);
-ms-transform: scale(.8);
transform: scale(.8);
-webkit-transition: -webkit-transform .06s cubic-bezier(.5,.1,.1,1);
-moz-transition: -moz-transform .06s cubic-bezier(.5,.1,.1,1);
-o-transition: -o-transform .06s cubic-bezier(.5,.1,.1,1);
-ms-transition: -ms-transform .06s cubic-bezier(.5,.1,.1,1);
transition: transform .06s cubic-bezier(.5,.1,.1,1);
}
#simurai {
margin-top: 200px;
display: inline-block;
}