While exploring the bootstrap less port, I came across this interesting syntax:
@grid-breakpoints:
xs 0,
sm 576px,
md 768px,
lg 992px,
xl 1200px;
What exactly is this? It doesn't seem to be a map or an array...
How can I retrieve the value for lg
, for example?
Interestingly, while map-get(@grid-breakpoints, lg)
works in an Angular 7 project in src/styles.less, it fails to translate in src/mycomponent/mycomponent.less, which is quite perplexing.