-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpatternfly.breakpoints.yml
More file actions
28 lines (25 loc) · 989 Bytes
/
patternfly.breakpoints.yml
File metadata and controls
28 lines (25 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Breakpoints are used for responsive image configuration within Drupal 8.
# https://www.drupal.org/docs/8/theming-drupal-8/working-with-breakpoints-in-drupal-8
#
# NOTE: While normally used for defining breakpoints for use with the <picture>
# element, it's a better idea to use <img> with srcset and sizes instead.
# - https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/
# - https://cloudfour.com/thinks/responsive-images-101-part-5-sizes/
# Below is an example of how to create srcset placeholders in Drupal.
# The sizes attribute still needs to be configured manually within
# `admin/config/media/responsive-image-style`.
# More information: https://chromatichq.com/blog/responsive-images-drupal-8-using-srcset
patternfly.srcset.16_9:
label: '16:9'
mediaQuery: ''
weight: 0
multipliers:
- 1x
group: PatternFly Srcset
patternfly.srcset.2_1:
label: '2:1'
mediaQuery: ''
weight: 1
multipliers:
- 1x
group: PatternFly Srcset