-
Notifications
You must be signed in to change notification settings - Fork 0
mixin :: perspective
SMRSAN edited this page Jun 2, 2017
·
1 revision
To make a cross-browser perspective
, use this mixin.
Param | Usage |
---|---|
$val | The value of perspective properties. |
For example:
#myDiv
+perspective(1000px)
#myDiv{
@include perspective(1000px);
}
#myDiv{
-webkit-perspective: 1000px;
-moz-perspective: 1000px;
perspective: 1000px;
}