Created
October 4, 2012 09:16
-
-
Save gpessia/3832453 to your computer and use it in GitHub Desktop.
Cross Browser Opacity - Sublime Text Snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=${1:50})"; ${3:/* IE 8 */} | |
filter: alpha(opacity=${1:50}); ${3:/* IE 5-7 */} | |
-moz-opacity: ${2:0.5}; ${3:/* Netscape */} | |
-khtml-opacity: ${2:0.5}; ${3:/* Safari 1.x */} | |
opacity: ${2:0.5}; ${3:/* Good browsers */} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>opacity</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment