pg5sda
Last Updated: February 25, 2016
·
1.51K
· dperrymorrow
37b092a324da25d53fd63d780692b174

concat variables in Less

so you want to concat variables in less. Here is how

@cdnPrefix: "https://s3.amazonaws.com/some-bucket";
// now you can use this var anywhere...
.my-class {
  background-image: url("@{cdnPrefix}/images/bg-image.png");
}

have fun.

Say Thanks
Respond