mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Merge pull request #17333 from neilhem/combine-size-mixins
Combine size & square mixins into one
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user