Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
865911c3
Commit
865911c3
authored
9 years ago
by
Rakhat Jabagin
Browse files
Options
Download
Email Patches
Plain Diff
combine size & square mixins into one
parent
7ff9b197
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/mixins/_size.scss
+1
-5
scss/mixins/_size.scss
with
1 addition
and
5 deletions
+1
-5
scss/mixins/_size.scss
+
1
-
5
View file @
865911c3
// 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
);
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets