Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _box_sizing.scss #98

Merged
merged 1 commit into from
Apr 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update _box_sizing.scss
Does not stop on error if mixin is used without parameter.
  • Loading branch information
Wilkun authored Aug 22, 2016
commit e1e5653a4ffdca5bf2109dce0a471c649b9b4fc0
7 changes: 6 additions & 1 deletion lib/compass/css3/_box-sizing.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
@import "shared";

// The default box-sizing model when no argument is provided to the box-sizing mixin: [ content-box | border-box | padding-box ]
//
// The browser default is content-box, compass defaults to border-box.
$default-box-sizing: border-box !default;

// Change the box model for Mozilla, Webkit, IE8 and the future
//
// @param $bs
// [ content-box | border-box ]

@mixin box-sizing($bs) {
@mixin box-sizing($bs: $default-box-sizing) {
$bs: unquote($bs);
@include experimental(box-sizing, $bs,
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
Expand Down