mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
combine size & square mixins into one
This commit is contained in:
parent
7ff9b1979c
commit
865911c35d
1 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
// Sizing shortcuts
|
||||
|
||||
@mixin size($width, $height) {
|
||||
@mixin size($width, $height: $width) {
|
||||
width: $width;
|
||||
height: $height;
|
||||
}
|
||||
|
||||
@mixin square($size) {
|
||||
@include size($size, $size);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue