Files
Basalt2/node_modules/shiki/samples/less.sample
Robert Jelic b0a4a6da9c Vitepress
2025-02-10 06:53:23 +01:00

32 lines
377 B
Plaintext

.button {
&-ok {
background-image: url("ok.png");
}
&-cancel {
background-image: url("cancel.png");
}
&-custom {
background-image: url("custom.png");
}
}
.link {
& + & {
color: red;
}
& & {
color: green;
}
&& {
color: blue;
}
&, &ish {
color: cyan;
}
}
// From https://lesscss.org/features/#parent-selectors-feature