Skip to content

Commit 1038950

Browse files
CDDeltajelbourn
authored andcommitted
feat(layout): add window breakpoints from spec (#9318)
1 parent afcb3ea commit 1038950

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/cdk/layout/breakpoints.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
// PascalCase is being used as Breakpoints is used like an enum.
99
// tslint:disable-next-line:variable-name
1010
export const Breakpoints = {
11+
XSmall: '(max-width: 599px)',
12+
Small: '(min-width: 600px) and (max-width: 959px)',
13+
Medium: '(min-width: 960px) and (max-width: 1279px)',
14+
Large: '(min-width: 1280px) and (max-width: 1919px)',
15+
XLarge: '(min-width: 1920px)',
16+
1117
Handset: '(max-width: 599px) and (orientation: portrait), ' +
1218
'(max-width: 959px) and (orientation: landscape)',
1319
Tablet: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait), ' +

0 commit comments

Comments
 (0)