Comment in italics are information about how to use part of the template.
Description of the problem this recipe solves or the pattern you are demonstrating.
Requirements
What does this pattern need to include, or what problems does it need to solve? List that here.
Recipe
Change the path to the example below to point to your merged example. The last parameter is the live example height, which you can change as needed.
Change the link to point to your merged download version.
Choices made
Explain your decisions when creating the pattern. Why did you choose a certain method? If you want to add an additional example here — for example a version with fallbacks, please do. This section is deliberately loose as patterns range from the very simple to more complex.
Useful fallbacks or alternative methods
If there are useful alternative methods for building the recipe, or fallback recipes to use if you have to support non-supporting browsers, include them in separate sections down here.
Accessibility concerns
Include this is there are any specific things to watch out for in regard to accessibility. If not relevant for your pattern this can be omitted.
Browser compatibility
The various layout methods have different browser support. See the charts below for details on basic support for the properties used.
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Include the compat data for key properties you used, as in the example below which includes align-items.
align-items
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Supported in Flex Layout | Chrome
Full support
52
| Edge
Full support
12
| Firefox
Full support
20
| IE
Full support
11
| Opera Full support 12.1 | Safari
Full support
9
| WebView Android
Full support
52
| Chrome Android
Full support
52
| Firefox Android
Full support
20
| Opera Android Full support 12.1 | Safari iOS
Full support
9
| Samsung Internet Android
Full support
6.0
|
Supported in Grid Layout | Chrome Full support 57 | Edge Full support 16 | Firefox Full support 52 | IE No support No | Opera Full support 44 | Safari Full support 10.1 | WebView Android Full support 57 | Chrome Android Full support 52 | Firefox Android Full support 52 | Opera Android Full support 43 | Safari iOS Full support 10.3 | Samsung Internet Android Full support 6.2 |
Legend
- Full support
- Full support
- No support
- No support
- See implementation notes.
- See implementation notes.
- User must explicitly enable this feature.
- User must explicitly enable this feature.
- Requires a vendor prefix or different name for use.
- Requires a vendor prefix or different name for use.
See also
- Links of link of related properties:
example-property
- Links to article showing how to use the property in context: "Using … article"
- Very good external links. Don't be afraid of external links, but they should be outstanding, and not only mention minor details.