Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Media Queries SCSS Mixins

NotificationsYou must be signed in to change notification settings

pauloapi/media-queries-scss-mixins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Media Queries SCSS Mixins based on Angular FlexLayout

Installation

Download and includemedia-queries.scss.

@use'media-queries.scss'as*;

Example

.container {@includexs {background:blue;  }@includegt-md {color:green  }}

Demo:Stackblitz

MediaQueries and Aliases

You can associate breakpoints with mediaQuery definitions using breakpoint alias(es):

BreakpointMedia Query
xs'screen and (max-width: 599px)'
sm'screen and (min-width: 600px) and (max-width: 959px)'
md'screen and (min-width: 960px) and (max-width: 1279px)'
lg'screen and (min-width: 1280px) and (max-width: 1919px)'
xl'screen and (min-width: 1920px) and (max-width: 5000px)'
lt-sm'screen and (max-width: 599px)'
lt-md'screen and (max-width: 959px)'
lt-lg'screen and (max-width: 1279px)'
lt-xl'screen and (max-width: 1919px)'
gt-xs'screen and (min-width: 600px)'
gt-sm'screen and (min-width: 960px)'
gt-md'screen and (min-width: 1280px)'
gt-lg'screen and (min-width: 1920px)'

Reference:Angular Flex Layout MediaQueries

About

Media Queries SCSS Mixins

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp