UNPKG

1.31 kBHTMLView Raw
1<!--
2 Copyright IBM Corp. 2016, 2018
3
4 This source code is licensed under the Apache-2.0 license found in the
5 LICENSE file in the root directory of this source tree.
6-->
7
8
9<div class="bx--snippet bx--snippet--single" > <div class="bx--snippet-container" aria-label="Code Snippet Text">
10 <pre>
11<code>@mixin grid-container {
12 width: 100%;
13 padding-right: padding(mobile);
14 padding-left: padding(mobile);
15
16 @include breakpoint(bp--xs--major) {
17 padding-right: padding(xs);
18 padding-left: padding(xs);
19 }
20 }
21
22 $z-indexes: (
23 modal : 9000,
24 overlay : 8000,
25 dropdown : 7000,
26 header : 6000,
27 footer : 5000,
28 hidden : - 1,
29 overflowHidden: - 1,
30 floating: 10000
31 );</code>
32 </pre>
33</div>
34<button data-copy-btn class="bx--snippet-button" type="button" aria-label="Copy" tabindex="0">
35 <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="bx--snippet__icon" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M14 5v9H5V5h9m0-1H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1z"></path><path d="M2 9H1V2a1 1 0 0 1 1-1h7v1H2z"></path></svg>
36 <div class="bx--btn--copy__feedback" role="alert" data-feedback="Copied!"></div>
37</button>
38</div>