mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-11 08:54:23 +01:00
Merge pull request #17333 from neilhem/combine-size-mixins
Combine size & square mixins into one
This commit is contained in:
commit
b5c93eafb8
@ -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…
x
Reference in New Issue
Block a user