Is it possible to inline LESS stylesheets?

守給你的承諾、 提交于 2019-11-29 00:53:21

This has been possible since July 2010, and it works with today's Less 1.2.0 version.

See the initial diff that added support for this.

Otto Coster

You actually need to use

<style type="text/less">

instead of:

<style type="stylesheet/less">

Otherwise it won't work.

Remember to place the <style> element before the <script> element to load less.js.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!