Warning, /webapps/ocs-webserver/library/lessphp/tests/inputs/interpolation.less is written in an unsupported language. File is not indexed.
0001 0002 @cool-hello: "yes"; 0003 @cool-yes: "okay"; 0004 @var: "hello"; 0005 0006 div { 0007 interp1: ~"@{cool-hello}"; 0008 interp2: ~"@{cool-@{var}}"; 0009 interp3: ~"@{cool-@{cool-@{var}}}"; 0010 } 0011 0012 // interpolation in selectors 0013 0014 @hello: 10; 0015 @world: "yeah"; 0016 0017 @{hello}@{world} { 0018 color: blue; 0019 } 0020 0021 @{hello} { 0022 color: blue; 0023 } 0024 0025 hello world @{hello} { 0026 color: red; 0027 } 0028 0029 #@{world} { 0030 color: "hello @{hello}"; 0031 } 0032 0033 0034 @num: 3; 0035 0036 [prop], 0037 [prop="value@{num}"], 0038 [prop*="val@{num}"], 0039 [|prop~="val@{num}"], 0040 [*|prop$="val@{num}"], 0041 [ns|prop^="val@{num}"], 0042 [@{num}^="val@{num}"], 0043 [@{num}=@{num}], 0044 [@{num}] { 0045 attributes: yes; 0046 } 0047