How to use Twitter Bootstrap in products, LESS or CSS compressed?

I am working on a J2EE project that wants to use Twitter Bootstrap as the main style for interfaces, with some settings for product selection.

I don’t know if I have to use the LESS or CSS format introduced by Twitter Bootstrap, if I use LESS, I have to compile these files in CSS on the server or on the client side, which Java platform helps me on the server side because I need to cache the table styles in product mode, otherwise they do not need to be cached.

I’m interested in that precompilation on the client’s site will affect the product’s performance, has someone made a guide for this?

+3
source share
3

wro4j , css, . wro4j :

+2

, CSS, .

, java:
http://www.asual.com/lesscss/

, , , , gzipped /minified css.

:)

0

LESS , .css . , , less.js/LESS . less.js .less HTML , . , - - / LESS. 130 .less, , , .less , . , , .., .

My recommendation is to either use something like node.js and less.js to compile css on the fly every time you save. Or use one of several useful gui tools that will watch the project and compile it every time you save it. (LESS.app, Crunch App, WinLESS, etc.)

0
source

All Articles