Skip to content

Commit 1712105

Browse files
committed
New release, css transitions
1 parent 0de0ea0 commit 1712105

File tree

7 files changed

+218
-160
lines changed

7 files changed

+218
-160
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jQuery-SlotMachine",
33
"description": "A simple jQuery plugin to make slot machine animation effect",
4-
"version": "2.3.1",
4+
"version": "3.0.0",
55
"keywords": [
66
"slots",
77
"gambling",

dist/jquery.slotmachine.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.slotMachineNoTransition {
2+
-webkit-transition: none !important;
3+
transition: none !important;
4+
}
5+
6+
.slotMachineBlurFast {
7+
-webkit-filter: blur(5px);
8+
filter: blur(5px);
9+
}
10+
11+
.slotMachineBlurMedium {
12+
-webkit-filter: blur(3px);
13+
filter: blur(3px);
14+
}
15+
16+
.slotMachineBlurSlow {
17+
-webkit-filter: blur(2px);
18+
filter: blur(2px);
19+
}
20+
21+
.slotMachineBlurTurtle {
22+
-webkit-filter: blur(1px);
23+
filter: blur(1px);
24+
}
25+
26+
.slotMachineGradient {
27+
-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(25%, rgba(0,0,0,1)), color-stop(75%, rgba(0,0,0,1)), color-stop(100%, rgba(0,0,0,0)) );
28+
-webkit-mask: url("data:image/svg+xml;utf8,<svg version="1.1" xmlns="http:// www.w3.org/2000/svg" width="0" height="0"><mask id="slotMachineFadeMask" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox"><linearGradient id="slotMachineFadeGradient" gradientUnits="objectBoundingBox" x="0" y="0"><stop stop-color="white" stop-opacity="0" offset="0"></stop><stop stop-color="white" stop-opacity="1" offset="0.25"></stop><stop stop-color="white" stop-opacity="1" offset="0.75"></stop><stop stop-color="white" stop-opacity="0" offset="1"></stop></linearGradient><rect x="0" y="-1" width="1" height="1" transform="rotate(90)" fill="url(#slotMachineFadeMask)"></rect></mask></svg>#slotMachineFadeMask");
29+
mask: url("data:image/svg+xml;utf8,<svg version="1.1" xmlns="http:// www.w3.org/2000/svg" width="0" height="0"><mask id="slotMachineFadeMask" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox"><linearGradient id="slotMachineFadeGradient" gradientUnits="objectBoundingBox" x="0" y="0"><stop stop-color="white" stop-opacity="0" offset="0"></stop><stop stop-color="white" stop-opacity="1" offset="0.25"></stop><stop stop-color="white" stop-opacity="1" offset="0.75"></stop><stop stop-color="white" stop-opacity="0" offset="1"></stop></linearGradient><rect x="0" y="-1" width="1" height="1" transform="rotate(90)" fill="url(#slotMachineFadeMask)"></rect></mask></svg>#slotMachineFadeMask");
30+
}

0 commit comments

Comments
 (0)