PluginProbe
GetResponse Forms by Optin Cat / 1.3.5
GetResponse Forms by Optin Cat v1.3.5
1.3.4 1.3.5 1.3.6 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 2.0.0 All 36 releases
getresponse / includes / classes / scssphp / tests / inputs / interpolation.scss

interpolation.scss in GetResponse Forms by Optin Cat 1.3.5, at includes/classes/scssphp/tests/inputs/interpolation.scss

87 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 div {
3 color: red#{white} blue;
4 color: red #{white} blue;
5 color: red #{white}blue;
6 color: red#{white}blue;
7 color: #{umm}#{yeah}#{what};
8 color: #{stacked};
9
10 font-size: 10px/#{something};
11 font-size: 10px / #{something};
12
13 test: "what#{"world"}wrong";
14 test: "what#{'world'}wrong";
15 test: "what#{world}wrong";
16 test: "what"#{world}"wrong";
17
18 hi: "what is #{4 + 12} end"
19 }
20
21
22 // interpolation in selectors
23
24 pre {
25 $var: cool;
26
27 #{var} {
28 color: red;
29 }
30
31 #{var} dad {
32 color: red;
33 }
34
35 bed#{var}dad {
36 color: red;
37 }
38 }
39
40 cool {
41 @for $x from 1 through 5 {
42 .thing-#{$x} {
43 color: red;
44 }
45 }
46 }
47
48 a#{b}c#{d}e {
49 color: red;
50 }
51
52 ##{hello}, .#{world}{
53 color: red;
54 }
55
56 #abc#{hello}yeah, .cool#{world}yes{
57 color: red;
58 }
59
60 $scope: 2;
61
62 div.element:nth-child(#{$scope}n)
63 {
64 display: none;
65 }
66
67 // property interpolation
68
69 div {
70 $var: hello;
71 #{$var}: world;
72 cool#{$var}:world;
73 #{$var}one:world;
74 two#{$var}one:world;
75
76 one#{a + b}two: cool;
77
78 #{hello}: {
79 #{world}: red;
80 #{mold}: white;
81 #{$var}: blue;
82 }
83
84 }
85
86
87