LESSCSS - use calculation and return value

后端 未结 5 1929
北荒
北荒 2020-12-30 12:15

H i,

Hoping you can help.

Is there a way for LESS to return just a value - feel like I\'m missing something very obvious

Sa

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 12:59

    I think you look for this, Mixin as a function

    http://lesscss.org/features/#mixins-as-functions-feature

    Reading your question, I think is what you're wishing, ;D

提交回复
热议问题