David Wolever David Wolever - 1 month ago 6
Less Question

Is it possible to inline LESS stylesheets?

For example, is it possible to do something like:

<style type="text/less">
#foo {
.bar {
font-weight: bold;
}
}
</style>

Answer

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.