cleanup the source docs for css3/box_shadow
This commit is contained in:
parent
8ee939a52c
commit
72876a7d63
@ -1,18 +1,20 @@
|
|||||||
//
|
// @doc off
|
||||||
Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3.
|
// These defaults make the arguments optional for this mixin
|
||||||
|
// If you like, set different defaults before importing.
|
||||||
Standard arguments are color, horizontal offset, vertical offset, and blur.
|
// @doc on
|
||||||
|
|
||||||
//
|
|
||||||
These defaults make the arguments optional for this mixin
|
|
||||||
|
|
||||||
If you like, set different defaults in your project.
|
|
||||||
|
|
||||||
|
// The default color for box shadows
|
||||||
!default_box_shadow_color ||= #333
|
!default_box_shadow_color ||= #333
|
||||||
|
// The default horizontal offset. Positive is to the right.
|
||||||
!default_box_shadow_h_offset ||= 1px
|
!default_box_shadow_h_offset ||= 1px
|
||||||
|
// The default vertical offset. Positive is down.
|
||||||
!default_box_shadow_v_offset ||= 1px
|
!default_box_shadow_v_offset ||= 1px
|
||||||
|
// The default blur length.
|
||||||
!default_box_shadow_blur ||= 5px
|
!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)
|
=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 (Safari, Chrome) */
|
||||||
-webkit-box-shadow= !color !hoff !voff !blur
|
-webkit-box-shadow= !color !hoff !voff !blur
|
||||||
|
Loading…
Reference in New Issue
Block a user