Programmatically editing Less (css) code with JQuery-like selector syntax?

前端 未结 6 1755
萌比男神i
萌比男神i 2020-12-05 21:02

It\'s possible to use libraries in less.js to dynamically regenerate css from less files within the browser. If there was an easy way to modify less code, this would be an e

6条回答
  •  -上瘾入骨i
    2020-12-05 21:39

    it might, just might be a good idéer but if your css / html is right this shouldn't be necessary at all, you just have to css in the right way you could stack your classes if you have alot of "a" tags. If you have very big websites your customers can be quite picky about some little changes like font then its good to customize your outcome and then it is very easy to just css your way out of it, than to make more variables to make your outcome

    If you wanna change 1 color your just use your find tool and use find and replace.

    please just use some css & comon knowlegde to get your result the more scripts manipulating your website the more load time.

    Best regards

    SP

提交回复
热议问题