added text shadow mixin

This commit is contained in:
B Mathis 2009-11-21 15:06:00 -06:00
parent 4b26355dc0
commit 31dab72ff3

View File

@ -0,0 +1,15 @@
//**
Provides css text shadows
arguments are color, horizontal offset, vertical offset, and blur
//**
These defaults make the arguments optional for this mixin
If you like, set different defaults in your project
!default_text_shadow_color ||= #aaa
!default_text_shadow_h_offset ||= 1px
!default_text_shadow_v_offset ||= 1px
!default_text_shadow_blur ||= 1px
=text-shadow(!color = !default_text_shadow_color, !hoff = !default_text_shadow_h_offset, !voff = !default_text_shadow_v_offset, !blur = !default_text_shadow_blur)
text-shadow= !color !hoff !voff !blur