cleanup the source docs for css3/box_shadow

This commit is contained in:
Chris Eppstein 2010-03-28 23:09:36 -07:00
parent 8ee939a52c
commit 72876a7d63

View File

@ -1,18 +1,20 @@
//
Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3.
Standard 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.
// @doc off
// These defaults make the arguments optional for this mixin
// If you like, set different defaults before importing.
// @doc on
// The default color for box shadows
!default_box_shadow_color ||= #333
// The default horizontal offset. Positive is to the right.
!default_box_shadow_h_offset ||= 1px
// The default vertical offset. Positive is down.
!default_box_shadow_v_offset ||= 1px
// The default blur length.
!default_box_shadow_blur ||= 5px
//
Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3.
Arguments are color, horizontal offset, vertical offset, and blur length.
=box-shadow(!color = !default_box_shadow_color, !hoff = !default_box_shadow_h_offset, !voff = !default_box_shadow_v_offset, !blur = !default_box_shadow_blur)
/* Webkit (Safari, Chrome) */
-webkit-box-shadow= !color !hoff !voff !blur