V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
yulanggong

一个 CSS 转 LESS, SASS, Stylus 的工具

  •  
  •   yulanggong ·
    yulanggong · Jul 3, 2015 · 16722 views
    This topic created in 3961 days ago, the information mentioned may be changed or developed.
    基于 quentint 的 Least 修改而来,主要用于把旧项目中的 CSS 升级到一种 CSS 预处理器。

    Least 原有功能:
    把 CSS 转换成有嵌套结构的 LESS, SASS, Stylus
    设置缩进

    我增加的功能:
    预置变量,把 CSS 内相同的值替换成变量
    保留注释
    去掉 hack 和带厂商前缀的兼容性代码

    http://yulanggong.github.io/Least/
    2 replies    2018-04-18 22:03:38 +08:00
    mt1992
        1
    mt1992  
       Apr 18, 2018
    一个 stylus 转换工具,将 stylus 转换为 sass 或 less 或其他预编译 CSS。

    github.com/TaoXuSheng/stylus-converter
    mt1992
        2
    mt1992  
       Apr 18, 2018
    一个 stylus 转换工具,将 stylus 转换为 sass 或 less 或其他预编译 CSS。

    ://github.com/TaoXuSheng/stylus-converter
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1106 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 23:01 · PVG 07:01 · LAX 16:01 · JFK 19:01
    ♥ Do have faith in what you're doing.