File tree 1 file changed +34
-13
lines changed
1 file changed +34
-13
lines changed Original file line number Diff line number Diff line change 1
1
// Display 1 column on mobile, 1 column on desktop
2
- .show-1-1 {
3
- flex-basis : 100% ;
4
- }
5
- .show-1-2 {
6
- flex-basis : 100% ;
7
- }
8
- .show-1-3 {
9
- flex-basis : 100% ;
10
- }
11
- .show-1-4 {
12
- flex-basis : 100% ;
2
+ .sm {
3
+ & -show-1-1 {
4
+ flex-basis : 100% ;
5
+ }
6
+ & -show-1-2 {
7
+ flex-basis : 100% ;
8
+ }
9
+ & -show-1-3 {
10
+ flex-basis : 100% ;
11
+ }
12
+ & -show-1-4 {
13
+ flex-basis : 100% ;
14
+ }
15
+ & -show-2-4 {
16
+ flex : 0 1 calc (50% - .5rem );
17
+ }
13
18
}
14
- .show-2-4 {
15
- flex : 0 1 calc (50% - .5rem );
19
+ @media (min-width : 576px ) {
20
+ .md {
21
+ & -show-1-1 {
22
+ flex-basis : 100% ;
23
+ }
24
+ & -show-1-2 {
25
+ flex-basis : 100% ;
26
+ }
27
+ & -show-1-3 {
28
+ flex-basis : 100% ;
29
+ }
30
+ & -show-1-4 {
31
+ flex-basis : 100% ;
32
+ }
33
+ & -show-2-4 {
34
+ flex : 0 1 calc (50% - .5rem );
35
+ }
36
+ }
16
37
}
17
38
18
39
@media (min-width : 768px ) {
You can’t perform that action at this time.
0 commit comments