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
c6a69e09
Commit
c6a69e09
authored
11 years ago
by
mrmrs
Committed by
Mark Otto
10 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add partial for media query mixins.
parent
92e81718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/mixins/media-queries.less
+26
-0
less/mixins/media-queries.less
with
26 additions
and
0 deletions
+26
-0
less/mixins/media-queries.less
0 → 100644
+
26
-
0
View file @
c6a69e09
// Media query mixins
.screen-xs(@rules) {
@media (max-width: @screen-xs-max) { @rules(); }
}
.screen-sm(@rules) {
@media (min-width: @screen-sm-min) { @rules(); }
}
.screen-sm-max(@rules) {
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { @rules(); }
}
.screen-md(@rules) {
@media (min-width: @screen-md-min) { @rules(); }
}
.screen-md-max(@rules) {
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) { @rules(); }
}
.screen-lg(@rules) {
@media (min-width: @screen-lg-min) { @rules(); }
}
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