Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some templates

  • Loading branch information...
commit 74544a56adabf299607a6844878293205025d267 1 parent 4fc2254
@EvanHahn authored
Showing with 23 additions and 0 deletions.
  1. +23 −0 stylus/templates.stylus
View
23 stylus/templates.stylus
@@ -3,3 +3,26 @@
Stylus templates
*/
+
+border-radius()
+ -moz-border-radius arguments
+ -webkit-border-radius arguments
+ border-radius arguments
+
+box-shadow()
+ -moz-box-shadow arguments
+ -webkit-box-shadow arguments
+ box-shadow arguments
+ html.ie8 &, html.ie7 &, html.ie6 &
+ border (arguments[length(arguments) - 2] / 2) solid arguments[length(arguments) - 1]
+
+button-pressed()
+ position relative
+ top 1px
+
+opacity()
+ opacity arguments
+ -khtml-opacity arguments
+ -moz-opacity arguments
+ filter s('alpha(opacity=%s)', arguments * 100)
+ zoom 1
Please sign in to comment.
Something went wrong with that request. Please try again.