11
11
12
12
< h2 > Horizontal</ h2 >
13
13
< ion-scroll scrollX ="true " style ="height: 200px ">
14
- < div style ="height: 200px; width: 2500px; background: url('eight_horns.png') repeat "> </ div >
14
+ < div style ="height: 200px; width: 2500px; " class =" pattern1 "> </ div >
15
15
</ ion-scroll >
16
16
17
17
< h2 > Vertical</ h2 >
18
18
< ion-scroll scrollY ="true " style ="width: 200px; height: 500px ">
19
- < div style ="height: 2500px; width: 200px; background: url('eight_horns.png') repeat "> </ div >
19
+ < div style ="height: 2500px; width: 200px; " class =" pattern2 "> </ div >
20
20
</ ion-scroll >
21
21
22
22
< h2 > Both</ h2 >
23
- < ion-scroll scrollX =" true " scrollY =" true " style ="width: 100%; height: 500px ">
24
- < div style ="height: 2500px; width: 2500px; background: url('eight_horns.png') repeat "> </ div >
23
+ < ion-scroll scrollX scrollY style ="width: 100%; height: 500px ">
24
+ < div style ="height: 2500px; width: 2500px; " class =" pattern3 "> </ div >
25
25
</ ion-scroll >
26
26
27
27
</ ion-content >
@@ -38,4 +38,29 @@ <h2>Both</h2>
38
38
background-color : rgba (0 , 0 , 0 , 0.4 );
39
39
z-index : 5 ;
40
40
}
41
+
42
+ .pattern1 {
43
+ background :
44
+ radial-gradient (circle at 0% 50% , rgba (96 , 16 , 48 , 0 ) 9px , # 613 10px , rgba (96 , 16 , 48 , 0 ) 11px ) 0px 10px ,
45
+ radial-gradient (at 100% 100% , rgba (96 , 16 , 48 , 0 ) 9px , # 613 10px , rgba (96 , 16 , 48 , 0 ) 11px ),
46
+ # 8a3 ;
47
+ background-size : 20px 20px ;
48
+ }
49
+
50
+ .pattern2 {
51
+ background :
52
+ linear-gradient (63deg , # 999 23% , transparent 23% ) 7px 0 ,
53
+ linear-gradient (63deg , transparent 74% , # 999 78% ),
54
+ linear-gradient (63deg , transparent 34% , # 999 38% , # 999 58% , transparent 62% ),
55
+ # 444 ;
56
+ background-size : 16px 48px ;
57
+ }
58
+
59
+ .pattern3 {
60
+ background :
61
+ linear-gradient (135deg , # 708090 22px , # d9ecff 22px , # d9ecff 24px , transparent 24px , transparent 67px , # d9ecff 67px , # d9ecff 69px , transparent 69px ),
62
+ linear-gradient (225deg , # 708090 22px , # d9ecff 22px , # d9ecff 24px , transparent 24px , transparent 67px , # d9ecff 67px , # d9ecff 69px , transparent 69px )0 64px ;
63
+ background-color : # 708090 ;
64
+ background-size : 64px 128px
65
+ }
41
66
</ style >
0 commit comments