Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //SCSS SYNTAX
- //box-sizing: border-box snippet ^_^
- @mixin box-sizing($box-model) {
- -webkit-box-sizing: $box-model; // Safari <= 5
- -moz-box-sizing: $box-model; // Firefox <= 19
- box-sizing: $box-model;
- }
- //border-radius stuffs^_^
- @mixin border-radius($radius) {
- -webkit-border-radius: $radius;
- -moz-border-radius: $radius;
- -ms-border-radius: $radius;
- border-radius: $radius;
- }
- /* Apply to Your elements */
- .box { @include border-radius(10px); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement