0
0
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:
Mark Otto 2015-09-01 20:25:25 -07:00
commit b5c93eafb8

View File

@ -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);
}