Skip to content
GitLab
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
9e321405
Commit
9e321405
authored
9 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
add horizontal flex utils
parent
5e41887c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/utilities/_flex.scss
+9
-0
scss/utilities/_flex.scss
with
9 additions
and
0 deletions
+9
-0
scss/utilities/_flex.scss
+
9
-
0
View file @
9e321405
...
...
@@ -23,5 +23,14 @@
.flex-
#{
$breakpoint
}
-middle
{
align-self
:
center
;
}
.flex-
#{
$breakpoint
}
-bottom
{
align-self
:
flex-end
;
}
}
// Horizontal alignment of item
@include
media-breakpoint-up
(
$breakpoint
)
{
.flex-items-
#{
$breakpoint
}
-left
{
justify-content
:
flex-start
;
}
.flex-items-
#{
$breakpoint
}
-center
{
justify-content
:
center
;
}
.flex-items-
#{
$breakpoint
}
-right
{
justify-content
:
flex-end
;
}
.flex-items-
#{
$breakpoint
}
-around
{
justify-content
:
space-around
;
}
.flex-items-
#{
$breakpoint
}
-between
{
justify-content
:
space-between
;
}
}
}
}
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