@@ -78,15 +78,15 @@ In order to apply the spacing scale on pages, a set of predefined helper classes
78
78
</tr>
79
79
</thead >
80
80
<tbody >
81
- {{#each
81
+ {{#each
82
82
(array
83
- (hash value='' name='all')
84
- (hash value='x' name="horizontal")
85
- (hash value='y' name="vertical")
86
- (hash value='t' name="top")
83
+ (hash value='' name='all')
84
+ (hash value='x' name="horizontal")
85
+ (hash value='y' name="vertical")
86
+ (hash value='t' name="top")
87
87
(hash value='r' name="right")
88
- (hash value='b' name="bottom")
89
- (hash value='l' name="left")
88
+ (hash value='b' name="bottom")
89
+ (hash value='l' name="left")
90
90
) as |direction|
91
91
}}
92
92
{{#each (array '0' '1' '2' '3' '4' '5') as |size|}}
@@ -117,15 +117,15 @@ In order to apply the spacing scale on pages, a set of predefined helper classes
117
117
</tr>
118
118
</thead >
119
119
<tbody >
120
- {{#each
120
+ {{#each
121
121
(array
122
- (hash value='' name='all')
123
- (hash value='x' name="horizontal")
124
- (hash value='y' name="vertical")
125
- (hash value='t' name="top")
122
+ (hash value='' name='all')
123
+ (hash value='x' name="horizontal")
124
+ (hash value='y' name="vertical")
125
+ (hash value='t' name="top")
126
126
(hash value='r' name="right")
127
- (hash value='b' name="bottom")
128
- (hash value='l' name="left")
127
+ (hash value='b' name="bottom")
128
+ (hash value='l' name="left")
129
129
) as |direction|
130
130
}}
131
131
{{#each (array '0' '1' '2' '3' '4' '5') as |size|}}
@@ -160,3 +160,13 @@ In order to apply the spacing scale on pages, a set of predefined helper classes
160
160
<!-- /code from YouTube -->
161
161
</div >
162
162
```
163
+
164
+ ### Hide elements on mobile
165
+
166
+ If you would like to hide any element only on mobile screens you can use the ` .hide-on-mobile ` class helper.
167
+
168
+ ``` html
169
+ <h1 class =" hide-on-mobile" >A secret message for desktop users: ♥️</h1 >
170
+
171
+ <p >If you can see the secret message above try resizing the window!</p >
172
+ ```
0 commit comments