Last active
February 11, 2017 19:42
-
-
Save pradeep1991singh/01918f93e45b480761774334f4be53cd to your computer and use it in GitHub Desktop.
_mixins.scss file for html-sass project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* common sass mixins | |
*/ | |
$primary-box-shadow-color: rgba(0, 0, 0, 0.5); | |
$secondary-box-shadow-color: rgba(0, 0, 0, 0.3); | |
@mixin display-flex() { | |
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6, BB7 */ | |
display: -ms-flexbox; /* TWEENER - IE 10 */ | |
display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */ | |
display: flex; /* NEW, Spec - Firefox, Chrome, Opera */ | |
} | |
@mixin box-shadow() { | |
-webkit-box-shadow: 0 15px 49px -10px $primary-box-shadow-color; | |
-moz-box-shadow: 0 15px 49px -10px $primary-box-shadow-color; | |
box-shadow: 0 15px 49px -10px $primary-box-shadow-color; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment