-
Notifications
You must be signed in to change notification settings - Fork 233
/
_imghvr-slide.scss
74 lines (66 loc) · 1.29 KB
/
_imghvr-slide.scss
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
/* imghvr-slide-*
----------------------------- */
[class^="imghvr-slide-"],
[class*=" imghvr-slide-"] {
&:hover {
figcaption {
transform: translate(0, 0);
}
}
}
/* imghvr-slide-up
----------------------------- */
.imghvr-slide-up {
figcaption {
transform: translateY(100%);
}
}
/* imghvr-slide-down
----------------------------- */
.imghvr-slide-down {
figcaption {
transform: translateY(-100%);
}
}
/* imghvr-slide-left
----------------------------- */
.imghvr-slide-left {
figcaption {
transform: translateX(100%);
}
}
/* imghvr-slide-right
----------------------------- */
.imghvr-slide-right {
figcaption {
transform: translateX(-100%);
}
}
/* imghvr-slide-top-left
----------------------------- */
.imghvr-slide-top-left {
figcaption {
transform: translate(-100%, -100%);
}
}
/* imghvr-slide-top-right
----------------------------- */
.imghvr-slide-top-right {
figcaption {
transform: translate(100%, -100%);
}
}
/* imghvr-slide-bottom-left
----------------------------- */
.imghvr-slide-bottom-left {
figcaption {
transform: translate(-100%, 100%);
}
}
/* imghvr-slide-bottom-right
----------------------------- */
.imghvr-slide-bottom-right {
figcaption {
transform: translate(100%, 100%);
}
}