Convert LESS nested CSS to standard CSS

后端 未结 6 1588
感动是毒
感动是毒 2021-01-29 10:53

I need help trying to convert this LESS nested CSS to standard CSS. Can anybody help?

.leftNav {
    a.TopLevel {
        float:none;
    }

    ul#topnav {
             


        
6条回答
  •  温柔的废话
    2021-01-29 11:18

    you can also use lessphp or less.js.

    Pekka is right. If you have a LESS style(s) (*.less file), it is also thought that you have a LESS-parser (original ruby gem or one of the PHP-Classes or even the less.js JavaScript lib) and its primary purpose is to parse (convert) LESS to CSS.

    UPDATE

    • WinLESS - (Windows) pretty simple GUI. It looks like it uses less.js somehow (my personal choise)
    • SimpleLESS - (Multiplarform) another GUI. Work also pretty well
    • LessAPP - (Mac) I think it is one of the first Desktop-Tool for comiping *.less Kind of Grandfather of WinLESS and SinpleLESS

    There're many other tools...for Mac, for Win and Multi

提交回复
热议问题