File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ .element
2
+ ...
3
+
4
+ .element-avatar
5
+ ...
6
+
7
+ .element-selected
8
+ ...
9
+
10
+ @media (min-width : tablet)
11
+ .element
12
+ ...
13
+
14
+ .element-avatar
15
+ ...
16
+
17
+ .element-selected
18
+ ...
19
+
20
+ @media (min-width : screen)
21
+ .element
22
+ ...
23
+
24
+ .element-avatar
25
+ ...
26
+
27
+ .element-selected
28
+ ...
29
+
30
+ @media (min-width : screen_large)
31
+ .element
32
+ ...
33
+
34
+ .element-avatar
35
+ ...
36
+
37
+ .element-selected
38
+ ...
Original file line number Diff line number Diff line change @@ -218,6 +218,20 @@ <h3>Разметка, генерируемая с помощью JavaScript</h3>
218
218
< h2 > < a href ="http://stylus-lang.com/ "> Stylus</ a > </ h2 >
219
219
</ div >
220
220
221
+ < div class ="section " id ="css-set ">
222
+ < div class ="col ">
223
+ < h3 > Подход к разработке стилей</ h3 >
224
+ < ul > Mobile first использующий следующие разрешения:
225
+ < li > mobile (экраны шириной от 0 до 640px), стили пишутся без использования медия выражений</ li >
226
+ < li > tablet = 40em (экраны шириной от 640px и больше), стили пишутся в медиа выражении @media (min-width: tablet)</ li >
227
+ < li > screen = 64em (экраны шириной от 1024px и больше), стили пишутся в медиа выражении @media (min-width: screen)</ li >
228
+ < li > screen_large = 90em (экраны шириной от 1440px и больше), стили пишутся в медиа выражении @media (min-width: screen_large)</ li >
229
+ </ ul >
230
+ < div class ="col ">
231
+ {% highlight css %}{% include css/set.css %}{% endhighlight %}
232
+ </ div >
233
+ </ div >
234
+
221
235
< div class ="section " id ="css-syntax ">
222
236
< div class ="col ">
223
237
< h3 > Синтаксис</ h3 >
You can’t perform that action at this time.
0 commit comments