Raised Shadow via Box-Shadow .. no other box-shadows possible ! | ||||||||||||||||||||||||||||||||||||
usage | raised_shadow( color, times, horizontal, vertical, blur, size ); | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||
this | @include raised_shadow( rgba(0, 0, 0, 0.5), 5 ); |
@include raised_shadow( rgba(102, 53, 53, 0.5), 5 );
@include raised_shadow( rgba(102, 53, 53, 0.5), 5, -10px, 0 );
! Wrapper needs: "position: relative; z-index: 1" !
Lifted Shadow via :before & :after Pseudo-Elements .. other box-shadows still possible ! | ||||||||||||||||||||||||||||||||||||
usage | lifted_shadow( color, times, horizontal, vertical, blur, size ); | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||
this | @include lifted_shadow( rgba(0, 0, 0, 0.5), 2 ); |
@include lifted_shadow( rgba(102, 53, 53, 0.5), 5 );
@include lifted_shadow( rgba(204, 0, 0, 0.5), 2 );
! Wrapper needs: "position: relative; z-index: 1" !
Vertical Curves via :before Pseudo-Elements .. other box-shadows still possible ! | ||||||||||||||||||||||||||||||||||||
usage | vertical_curves( color, times, horizontal, vertical, blur, size ); | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||
this | @include vertical_curves( rgba(0, 0, 0, 0.42), 3 ); |
@include vertical_curves( rgba(102, 53, 53, 0.5), 5 );
@include vertical_curves( rgba(204, 0, 0, 0.5), 2 );
! Wrapper needs: "position: relative; z-index: 1" !
Horizontal Curves via :before Pseudo-Elements .. other box-shadows still possible ! | ||||||||||||||||||||||||||||||||||||
usage | horizontal_curves( color, times, horizontal, vertical, blur, size ); | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||
this | @include horizontal_curves( rgba(0, 0, 0, 0.42), 3 ); |
@include horizontal_curves( rgba(102, 53, 53, 0.5), 5 );
@include horizontal_curves( rgba(204, 0, 0, 0.5), 2 );
! Wrapper needs: "position: relative; z-index: 1" !
Vertical Shine via :before & :after Pseudo-Elements .. other box-shadows still possible ! | |||||||||||||||||||||||||||||||
usage | vertical_shine( color, times, width, blur, size ); | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||
this | @include vertical_shine( rgba(0, 0, 0, 0.3), 2 ); |
@include vertical_shine( rgba(102, 53, 53, 0.5), 5 );
@include vertical_shine( rgba(204, 0, 0, 0.5), 2 );
! Wrapper needs: "position: relative; z-index: 1" !
Horizontal Shine via :before & :after Pseudo-Elements .. other box-shadows still possible ! | |||||||||||||||||||||||||||||||
usage | horizontal_shine( color, times, width, blur, size ); | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||
this | @include horizontal_shine( rgba(0, 0, 0, 0.3), 2 ); |
@include horizontal_shine( rgba(102, 53, 53, 0.5), 5 );
@include horizontal_shine( rgba(204, 0, 0, 0.5), 2 );
! Wrapper needs: "position: relative; z-index: 1" !
Single Curve via :before Pseudo-Elements .. other box-shadows still possible ! | |||||||||||||||||||||||||||||||||||||||||
usage | single_curve( color, times, position, width, blur, size, corner ); | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||
this | @include single_curve( rgba(0, 0, 0, 0.5), 2 ); |
@include single_curve( rgba(102, 53, 53, 0.5), 5 );
@include single_curve( rgba(204, 0, 0, 0.5), 2 );
! Wrapper needs: "position: relative; z-index: 1" !
Single Shine via :before Pseudo-Elements .. other box-shadows still possible ! | |||||||||||||||||||||||||||||||||||||||||
usage | single_shine( color, times, position, width, blur, size, corner ); | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||||||||
this | @include single_shine( rgba(0, 0, 0, 0.5), 2 ); |
@include single_shine( rgba(102, 53, 53, 0.5), 5 );
@include single_shine( rgba(204, 0, 0, 0.5), 2 );
! Wrapper needs: "position: relative; z-index: 1" !
Paper Shadow via :before Pseudo-Elements .. other box-shadows still possible ! | ||||||||||||||||
usage | paper_shadow( color, times ); | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||
this | @include paper_shadow( rgba(0, 0, 0, 0.5), 2 ); |
@include paper_shadow( rgba(102, 53, 53, 0.5), 5 );
@include paper_shadow( rgba(204, 0, 0, 0.5), 2 );
! Wrapper needs: "position: relative; z-index: 1" !
Pseudo Raised Shadow via :before Pseudo-Elements .. other box-shadows still possible ! | ||||||||||||||||||||||||||||||||||||||||||||||
usage | pseudo_raised_shadow( color, times, gap, radius, horizontal, vertical, blur, size ); | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||||
this | @include paper_shadow( rgba(0, 0, 0, 0.5), 3 ); |
@include pseudo_raised_shadow( rgba(102, 53, 53, 0.5), 5, 30px, 10px, 0, 10px );
@include pseudo_raised_shadow( rgba(102, 53, 53, 0.5), 5, 10px, 10px, 20px, 10px );
! Wrapper needs: "position: relative; z-index: 1" !
Perspective Shadow via :before Pseudo-Elements .. other box-shadows still possible ! | ||||||||||||||||||||||||||
usage | perspective_shadow( color, times, degre, blur ); | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||
this | @include perspective_shadow( rgba(0, 0, 0, 0.42), 1, 30, 3px ); |
@include perspective_shadow( rgba(102, 53, 53, 0.5), 5, 50, 5px );
@include perspective_shadow( rgba(204, 0, 0, 0.5), 2, 42, 10px );