Skip to content

Commit 80844a0

Browse files
committed
Update consolidated snippets
1 parent a4fd8a0 commit 80844a0

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

public/consolidated/all_snippets.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,56 @@
155155
"layout"
156156
],
157157
"author": "AmeerMoustafa"
158+
},
159+
{
160+
"title": "Responsive Design",
161+
"description": "The different responsive breakpoints.",
162+
"code": [
163+
"/* Phone */",
164+
".element {",
165+
" margin: 0 10%",
166+
"}",
167+
"",
168+
"/* Tablet */",
169+
"@media (min-width: 640px) {",
170+
" .element {",
171+
" margin: 0 20%",
172+
" }",
173+
"}",
174+
"",
175+
"/* Desktop base */",
176+
"@media (min-width: 768px) {",
177+
" .element {",
178+
" margin: 0 30%",
179+
" }",
180+
"}",
181+
"",
182+
"/* Desktop large */",
183+
"@media (min-width: 1024px) {",
184+
" .element {",
185+
" margin: 0 40%",
186+
" }",
187+
"}",
188+
"",
189+
"/* Desktop extra large */",
190+
"@media (min-width: 1280px) {",
191+
" .element {",
192+
" margin: 0 60%",
193+
" }",
194+
"}",
195+
"",
196+
"/* Desktop bige */",
197+
"@media (min-width: 1536px) {",
198+
" .element {",
199+
" margin: 0 80%",
200+
" }",
201+
"}"
202+
],
203+
"tags": [
204+
"css",
205+
"responsive"
206+
],
207+
"author": "kruimol"
158208
}
159209
]
160210
},

0 commit comments

Comments
 (0)