![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/demo.cartinsight.co/vendor/marcusschwarz/lesserphp/tests/inputs/ |
@cool-hello: "yes"; @cool-yes: "okay"; @var: "hello"; div { interp1: ~"@{cool-hello}"; interp2: ~"@{cool-@{var}}"; interp3: ~"@{cool-@{cool-@{var}}}"; } // interpolation in selectors @hello: 10; @world: "yeah"; @{hello}@{world} { color: blue; } @{hello} { color: blue; } hello world @{hello} { color: red; } #@{world} { color: "hello @{hello}"; } @num: 3; [prop], [prop="value@{num}"], [prop*="val@{num}"], [|prop~="val@{num}"], [*|prop$="val@{num}"], [ns|prop^="val@{num}"], [@{num}^="val@{num}"], [@{num}=@{num}], [@{num}] { attributes: yes; }