Skip to content

Commit

Permalink
New release, css transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
josex2r committed Feb 23, 2016
1 parent 0de0ea0 commit 1712105
Show file tree
Hide file tree
Showing 7 changed files with 218 additions and 160 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jQuery-SlotMachine",
"description": "A simple jQuery plugin to make slot machine animation effect",
"version": "2.3.1",
"version": "3.0.0",
"keywords": [
"slots",
"gambling",
Expand Down
30 changes: 30 additions & 0 deletions dist/jquery.slotmachine.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.slotMachineNoTransition {
-webkit-transition: none !important;
transition: none !important;
}

.slotMachineBlurFast {
-webkit-filter: blur(5px);
filter: blur(5px);
}

.slotMachineBlurMedium {
-webkit-filter: blur(3px);
filter: blur(3px);
}

.slotMachineBlurSlow {
-webkit-filter: blur(2px);
filter: blur(2px);
}

.slotMachineBlurTurtle {
-webkit-filter: blur(1px);
filter: blur(1px);
}

.slotMachineGradient {
-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)) );
-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");
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");
}
Loading

0 comments on commit 1712105

Please sign in to comment.