mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-18 08:51:07 +00:00
Merge pull request #17333 from neilhem/combine-size-mixins
Combine size & square mixins into one
This commit is contained in:
commit
b5c93eafb8
1 changed files with 1 additions and 5 deletions
|
|
@ -1,10 +1,6 @@
|
||||||
// Sizing shortcuts
|
// Sizing shortcuts
|
||||||
|
|
||||||
@mixin size($width, $height) {
|
@mixin size($width, $height: $width) {
|
||||||
width: $width;
|
width: $width;
|
||||||
height: $height;
|
height: $height;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin square($size) {
|
|
||||||
@include size($size, $size);
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue