Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added a bunch of css snippets and one eruby snippet

  • Loading branch information...
commit 15cb6bf4fad5b11f83d2ddb7186aadc0604329c1 1 parent b6b7391
@mikefarmer mikefarmer authored
Showing with 114 additions and 0 deletions.
  1. +1 −0  css/background/all.snippet
  2. +1 −0  css/background/attachment.snippet
  3. +1 −0  css/background/color.snippet
  4. +1 −0  css/background/color_name.snippet
  5. +1 −0  css/background/color_rgb.snippet
  6. +1 −0  css/background/color_transparent.snippet
  7. +1 −0  css/background/image_none.snippet
  8. +1 −0  css/background/image_url.snippet
  9. +1 −0  css/background/position.snippet
  10. +1 −0  css/background/repeat.snippet
  11. +1 −0  css/border/basic.snippet
  12. +1 −0  css/border/color.snippet
  13. +1 −0  css/border/style.snippet
  14. +1 −0  css/border/width.snippet
  15. +1 −0  css/borderb/basic.snippet
  16. +1 −0  css/borderb/color.snippet
  17. +1 −0  css/borderb/style.snippet
  18. +1 −0  css/borderb/width.snippet
  19. +1 −0  css/borderl/basic.snippet
  20. +1 −0  css/borderl/color.snippet
  21. +1 −0  css/borderl/style.snippet
  22. +1 −0  css/borderl/width.snippet
  23. +1 −0  css/borderr/basic.snippet
  24. +1 −0  css/borderr/color.snippet
  25. +1 −0  css/borderr/style.snippet
  26. +1 −0  css/borderr/width.snippet
  27. +1 −0  css/bordert/basic.snippet
  28. +1 −0  css/bordert/color.snippet
  29. +1 −0  css/bordert/style.snippet
  30. +1 −0  css/bordert/width.snippet
  31. +1 −0  css/clear.snippet
  32. +1 −0  css/color.snippet
  33. +1 −0  css/colorn.snippet
  34. +1 −0  css/colorr.snippet
  35. +1 −0  css/cursor.snippet
  36. +1 −0  css/cursuru.snippet
  37. +1 −0  css/direction.snippet
  38. +1 −0  css/display/block.snippet
  39. +1 −0  css/display/common.snippet
  40. +1 −0  css/display/inline.snippet
  41. +1 −0  css/display/table.snippet
  42. +1 −0  css/float.snippet
  43. +1 −0  css/font/all.snippet
  44. +1 −0  css/font/family.snippet
  45. +1 −0  css/font/size.snippet
  46. +1 −0  css/font/size_font.snippet
  47. +1 −0  css/font/style.snippet
  48. +1 −0  css/font/variant.snippet
  49. +1 −0  css/font/weight.snippet
  50. +1 −0  css/i.snippet
  51. +1 −0  css/letter.snippet
  52. +1 −0  css/letterem.snippet
  53. +1 −0  css/letterpx.snippet
  54. +1 −0  css/list-style/image.snippet
  55. +1 −0  css/list-style/position.snippet
  56. +1 −0  css/list-style/type_asian.snippet
  57. +1 −0  css/list-style/type_marker.snippet
  58. +1 −0  css/list-style/type_numeric.snippet
  59. +1 −0  css/list-style/type_other.snippet
  60. +1 −0  css/list-style/type_position_image.snippet
  61. +1 −0  css/list-style/type_roman_alpha_greek.snippet
  62. +1 −0  css/margin.snippet
  63. +1 −0  css/marginb.snippet
  64. +1 −0  css/marginl.snippet
  65. +1 −0  css/margino/T_R_B_L.snippet
  66. +1 −0  css/margino/V_H.snippet
  67. +1 −0  css/margino/all.snippet
  68. +1 −0  css/margino/bottom.snippet
  69. +1 −0  css/margino/left.snippet
  70. +1 −0  css/margino/right.snippet
  71. +1 −0  css/margino/top.snippet
  72. +1 −0  css/marginr.snippet
  73. +1 −0  css/margint.snippet
  74. +1 −0  css/marker/offset_auto.snippet
  75. +1 −0  css/marker/offset_length.snippet
  76. +3 −0  css/opacity.snippet
  77. +1 −0  css/overflow.snippet
  78. +1 −0  css/padding.snippet
  79. +1 −0  css/paddingb.snippet
  80. +1 −0  css/paddingl.snippet
  81. +1 −0  css/paddingo/T_R_B_L.snippet
  82. +1 −0  css/paddingo/V_H.snippet
  83. +1 −0  css/paddingo/all.snippet
  84. +1 −0  css/paddingo/bottom.snippet
  85. +1 −0  css/paddingo/left.snippet
  86. +1 −0  css/paddingo/right.snippet
  87. +1 −0  css/paddingo/top.snippet
  88. +1 −0  css/paddingr.snippet
  89. +1 −0  css/paddingt.snippet
  90. +1 −0  css/position.snippet
  91. +8 −0 css/scrollbar.snippet
  92. +1 −0  css/text/align.snippet
  93. +1 −0  css/text/decoration.snippet
  94. +1 −0  css/text/indent.snippet
  95. +1 −0  css/text/shadow_hex.snippet
  96. +1 −0  css/text/shadow_none.snippet
  97. +1 −0  css/text/shadow_rgb.snippet
  98. +1 −0  css/text/transform.snippet
  99. +1 −0  css/text/transform_none.snippet
  100. +1 −0  css/vertical.snippet
  101. +1 −0  css/visibility.snippet
  102. +1 −0  css/white.snippet
  103. +1 −0  css/word/spacing_length.snippet
  104. +1 −0  css/word/spacing_normal.snippet
  105. +1 −0  css/z.snippet
View
1  css/background/all.snippet
@@ -0,0 +1 @@
+background:${6: #${1:DDD}} url($2) ${3:repeat/repeat-x/repeat-y/no-repeat} ${4:scroll/fixed} ${5:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0
View
1  css/background/attachment.snippet
@@ -0,0 +1 @@
+background-attachment: ${1:scroll/fixed};$0
View
1  css/background/color.snippet
@@ -0,0 +1 @@
+background-color: #${1:DDD};$0
View
1  css/background/color_name.snippet
@@ -0,0 +1 @@
+background-color: ${1:red};$0
View
1  css/background/color_rgb.snippet
@@ -0,0 +1 @@
+background-color: rgb(${1:255},${2:255},${3:255});$0
View
1  css/background/color_transparent.snippet
@@ -0,0 +1 @@
+background-color: transparent;$0
View
1  css/background/image_none.snippet
@@ -0,0 +1 @@
+background-image: none;$0
View
1  css/background/image_url.snippet
@@ -0,0 +1 @@
+background-image: url($1);$0
View
1  css/background/position.snippet
@@ -0,0 +1 @@
+background-position: ${1:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0
View
1  css/background/repeat.snippet
@@ -0,0 +1 @@
+background-repeat: ${1:repeat/repeat-x/repeat-y/no-repeat};$0
View
1  css/border/basic.snippet
@@ -0,0 +1 @@
+border: ${1:1px} ${2:solid} #${3:999};$0
View
1  css/border/color.snippet
@@ -0,0 +1 @@
+border-color: ${1:999};$0
View
1  css/border/style.snippet
@@ -0,0 +1 @@
+border-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0
View
1  css/border/width.snippet
@@ -0,0 +1 @@
+border-width: ${1:1px};$0
View
1  css/borderb/basic.snippet
@@ -0,0 +1 @@
+border-bottom: ${1:1}px ${2:solid} #${3:999};$0
View
1  css/borderb/color.snippet
@@ -0,0 +1 @@
+border-bottom-color: #${1:999};$0
View
1  css/borderb/style.snippet
@@ -0,0 +1 @@
+border-bottom-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0
View
1  css/borderb/width.snippet
@@ -0,0 +1 @@
+border-bottom-width: ${1:1}px ${2:solid} #${3:999};$0
View
1  css/borderl/basic.snippet
@@ -0,0 +1 @@
+border-left: ${1:1}px ${2:solid} #${3:999};$0
View
1  css/borderl/color.snippet
@@ -0,0 +1 @@
+border-left-color: #${1:999};$0
View
1  css/borderl/style.snippet
@@ -0,0 +1 @@
+border-left-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0
View
1  css/borderl/width.snippet
@@ -0,0 +1 @@
+border-left-width: ${1:1}px ${2:solid} #${3:999};$0
View
1  css/borderr/basic.snippet
@@ -0,0 +1 @@
+border-right: ${1:1}px ${2:solid} #${3:999};$0
View
1  css/borderr/color.snippet
@@ -0,0 +1 @@
+border-right-color: #${1:999};$0
View
1  css/borderr/style.snippet
@@ -0,0 +1 @@
+border-right-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0
View
1  css/borderr/width.snippet
@@ -0,0 +1 @@
+border-right-width: ${1:1}px ${2:solid} #${3:999};$0
View
1  css/bordert/basic.snippet
@@ -0,0 +1 @@
+border-top: ${1:1}px ${2:solid} #${3:999};$0
View
1  css/bordert/color.snippet
@@ -0,0 +1 @@
+border-top-color: #${1:999};$0
View
1  css/bordert/style.snippet
@@ -0,0 +1 @@
+border-top-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0
View
1  css/bordert/width.snippet
@@ -0,0 +1 @@
+border-top-width: ${1:1}px ${2:solid} #${3:999};$0
View
1  css/clear.snippet
@@ -0,0 +1 @@
+clear: ${1:left/right/both/none};$0
View
1  css/color.snippet
@@ -0,0 +1 @@
+color: #${1:DDD};$0
View
1  css/colorn.snippet
@@ -0,0 +1 @@
+color: ${1:red};$0
View
1  css/colorr.snippet
@@ -0,0 +1 @@
+color: rgb(${1:255},${2:255},${3:255});$0
View
1  css/cursor.snippet
@@ -0,0 +1 @@
+cursor: ${1:default/auto/crosshair/pointer/move/*-resize/text/wait/help};$0
View
1  css/cursuru.snippet
@@ -0,0 +1 @@
+cursor: url($1);$0
View
1  css/direction.snippet
@@ -0,0 +1 @@
+direction: ${1:ltr|rtl};$0
View
1  css/display/block.snippet
@@ -0,0 +1 @@
+display: block;$0
View
1  css/display/common.snippet
@@ -0,0 +1 @@
+display: ${1:none/inline/block/list-item/run-in/compact/marker};$0
View
1  css/display/inline.snippet
@@ -0,0 +1 @@
+display: inline;$0
View
1  css/display/table.snippet
@@ -0,0 +1 @@
+display: ${1:table/inline-table/table-row-group/table-header-group/table-footer-group/table-row/table-column-group/table-column/table-cell/table-caption};$0
View
1  css/float.snippet
@@ -0,0 +1 @@
+float: ${1:left/right/none};$0
View
1  css/font/all.snippet
@@ -0,0 +1 @@
+font: ${1:normal/italic/oblique} ${2:normal/small-caps} ${3:normal/bold} ${4:1em/1.5em} ${5:Arial}, ${6:sans-}serif;$0
View
1  css/font/family.snippet
@@ -0,0 +1 @@
+font-family: ${1:Arial, "MS Trebuchet"}, ${2:sans-}serif;$0
View
1  css/font/size.snippet
@@ -0,0 +1 @@
+font-size: ${1:100%};$0
View
1  css/font/size_font.snippet
@@ -0,0 +1 @@
+font: ${1:75%} ${2:"Lucida Grande", "Trebuchet MS", Verdana,} ${3:sans-}serif;$0
View
1  css/font/style.snippet
@@ -0,0 +1 @@
+font-style: ${1:normal/italic/oblique};$0
View
1  css/font/variant.snippet
@@ -0,0 +1 @@
+font-variant: ${1:normal/small-caps};$0
View
1  css/font/weight.snippet
@@ -0,0 +1 @@
+font-weight: ${1:normal/bold};$0
View
1  css/i.snippet
@@ -0,0 +1 @@
+${1:!important}
View
1  css/letter.snippet
@@ -0,0 +1 @@
+letter-spacing: ${1}${2:em/px};$0
View
1  css/letterem.snippet
@@ -0,0 +1 @@
+letter-spacing: $1em;$0
View
1  css/letterpx.snippet
@@ -0,0 +1 @@
+letter-spacing: $1px;$0
View
1  css/list-style/image.snippet
@@ -0,0 +1 @@
+list-style-image: url($1);$0
View
1  css/list-style/position.snippet
@@ -0,0 +1 @@
+list-style-position: ${1:inside/outside};$0
View
1  css/list-style/type_asian.snippet
@@ -0,0 +1 @@
+list-style-type: ${1:cjk-ideographic/hiragana/katakana/hiragana-iroha/katakana-iroha};$0
View
1  css/list-style/type_marker.snippet
@@ -0,0 +1 @@
+list-style-type: ${1:none/disc/circle/square};$0
View
1  css/list-style/type_numeric.snippet
@@ -0,0 +1 @@
+list-style-type: ${1:decimal/decimal-leading-zero/zero};$0
View
1  css/list-style/type_other.snippet
@@ -0,0 +1 @@
+list-style-type: ${1:hebrew/armenian/georgian};$0
View
1  css/list-style/type_position_image.snippet
@@ -0,0 +1 @@
+list-style: ${1:none/disc/circle/square/decimal/zero} ${2:inside/outside} url($3);$0
View
1  css/list-style/type_roman_alpha_greek.snippet
@@ -0,0 +1 @@
+list-style-type: ${1:lower-roman/upper-roman/lower-alpha/upper-alpha/lower-greek/lower-latin/upper-latin};$0
View
1  css/margin.snippet
@@ -0,0 +1 @@
+margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0
View
1  css/marginb.snippet
@@ -0,0 +1 @@
+margin-bottom: ${1:20px};$0
View
1  css/marginl.snippet
@@ -0,0 +1 @@
+margin-left: ${1:20px};$0
View
1  css/margino/T_R_B_L.snippet
@@ -0,0 +1 @@
+margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0
View
1  css/margino/V_H.snippet
@@ -0,0 +1 @@
+margin: ${1:20px} ${2:0px};$0
View
1  css/margino/all.snippet
@@ -0,0 +1 @@
+margin: ${1:20px};$0
View
1  css/margino/bottom.snippet
@@ -0,0 +1 @@
+margin-bottom: ${1:20px};$0
View
1  css/margino/left.snippet
@@ -0,0 +1 @@
+margin-left: ${1:20px};$0
View
1  css/margino/right.snippet
@@ -0,0 +1 @@
+margin-right: ${1:20px};$0
View
1  css/margino/top.snippet
@@ -0,0 +1 @@
+margin-top: ${1:20px};$0
View
1  css/marginr.snippet
@@ -0,0 +1 @@
+margin-right: ${1:20px};$0
View
1  css/margint.snippet
@@ -0,0 +1 @@
+margin-top: ${1:20px};$0
View
1  css/marker/offset_auto.snippet
@@ -0,0 +1 @@
+marker-offset: auto;$0
View
1  css/marker/offset_length.snippet
@@ -0,0 +1 @@
+marker-offset: ${1:10px};$0
View
3  css/opacity.snippet
@@ -0,0 +1,3 @@
+opacity: ${1:0.5};${100:
+}-moz-opacity: ${1:0.5};${100:
+}filter:alpha(opacity=${2:${1/(1?)0?\.(.*)/$1$2/}${1/^\d*\.\d\d+$|^\d*$|(^\d\.\d$)/(?1:0)/}});$0
View
1  css/overflow.snippet
@@ -0,0 +1 @@
+overflow: ${1:visible/hidden/scroll/auto};$0
View
1  css/padding.snippet
@@ -0,0 +1 @@
+padding: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0
View
1  css/paddingb.snippet
@@ -0,0 +1 @@
+padding-bottom: ${1:20px};$0
View
1  css/paddingl.snippet
@@ -0,0 +1 @@
+padding-left: ${1:20px};$0
View
1  css/paddingo/T_R_B_L.snippet
@@ -0,0 +1 @@
+padding: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0
View
1  css/paddingo/V_H.snippet
@@ -0,0 +1 @@
+padding: ${1:20px} ${2:0px};$0
View
1  css/paddingo/all.snippet
@@ -0,0 +1 @@
+padding: ${1:20px};$0
View
1  css/paddingo/bottom.snippet
@@ -0,0 +1 @@
+padding-bottom: ${1:20px};$0
View
1  css/paddingo/left.snippet
@@ -0,0 +1 @@
+padding-left: ${1:20px};$0
View
1  css/paddingo/right.snippet
@@ -0,0 +1 @@
+padding-right: ${1:20px};$0
View
1  css/paddingo/top.snippet
@@ -0,0 +1 @@
+padding-top: ${1:20px};$0
View
1  css/paddingr.snippet
@@ -0,0 +1 @@
+padding-right: ${1:20px};$0
View
1  css/paddingt.snippet
@@ -0,0 +1 @@
+padding-top: ${1:20px};$0
View
1  css/position.snippet
@@ -0,0 +1 @@
+position: ${1:static/relative/absolute/fixed};$0
View
8 css/scrollbar.snippet
@@ -0,0 +1,8 @@
+scrollbar-base-color: ${1:#CCCCCC};${2:
+scrollbar-arrow-color: ${3:#000000};
+scrollbar-track-color: ${4:#999999};
+scrollbar-3dlight-color: ${5:#EEEEEE};
+scrollbar-highlight-color: ${6:#FFFFFF};
+scrollbar-face-color: ${7:#CCCCCC};
+scrollbar-shadow-color: ${9:#999999};
+scrollbar-darkshadow-color: ${8:#666666};}
View
1  css/text/align.snippet
@@ -0,0 +1 @@
+text-align: ${1:left/right/center/justify};$0
View
1  css/text/decoration.snippet
@@ -0,0 +1 @@
+text-decoration: ${1:none/underline/overline/line-through/blink};$0
View
1  css/text/indent.snippet
@@ -0,0 +1 @@
+text-indent: ${1:10}px;$0
View
1  css/text/shadow_hex.snippet
@@ -0,0 +1 @@
+text-shadow: #${1:DDD} ${2:10px} ${3:10px} ${4:2px};$0
View
1  css/text/shadow_none.snippet
@@ -0,0 +1 @@
+text-shadow: none;$0
View
1  css/text/shadow_rgb.snippet
@@ -0,0 +1 @@
+text-shadow: rgb(${1:255},${2:255},${3:255}) ${4:10px} ${5:10px} ${6:2px};$0
View
1  css/text/transform.snippet
@@ -0,0 +1 @@
+text-transform: ${1:capitalize/uppercase/lowercase};$0
View
1  css/text/transform_none.snippet
@@ -0,0 +1 @@
+text-transform: none;$0
View
1  css/vertical.snippet
@@ -0,0 +1 @@
+vertical-align: ${1:baseline/sub/super/top/text-top/middle/bottom/text-bottom/length/%};$0
View
1  css/visibility.snippet
@@ -0,0 +1 @@
+vertical-align: ${1:baseline/sub/super/top/text-top/middle/bottom/text-bottom/length/%};$0
View
1  css/white.snippet
@@ -0,0 +1 @@
+white-space: ${1:normal/pre/nowrap};$0
View
1  css/word/spacing_length.snippet
@@ -0,0 +1 @@
+word-spacing: ${1:10px};$0
View
1  css/word/spacing_normal.snippet
@@ -0,0 +1 @@
+word-spacing: normal;$0
View
1  css/z.snippet
@@ -0,0 +1 @@
+z-index: $1;$0
Please sign in to comment.
Something went wrong with that request. Please try again.