Giter Site home page Giter Site logo

zo-less's Introduction

zo-less

简单的 less 工具。主要集成了常用 mixin, IE 兼容性策略。可免费修改使用。

代码压缩

npm install

gulp

使用 gulp 压缩代码。

使用

zo.less 引入即可将所有的 mixin 引入。也可以以 mixins/variables.less 的形式引入使用。

关于 IE 兼容

更多 IE 兼容性请参考:CSS PIE

启用 IE 兼容性

@support-ie7: true;
@support-ie8: true;
@support-pie: true;

使用 CSS3 Pie 时需要下载对应的 .htc 文件。

示例

@import "mixins/clearfix.less";
@support-ie7: true;

.clearfix();

兼容性

  • Chrome 32
  • 其他浏览器未测试...

change log

  • 2014-01-23 整理目录,将拆分为单独的 .less 文件
  • 2014-01-21 添加 mixin 文件

zo-less's People

Contributors

basecss avatar

Watchers

James Cloos avatar baitongda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.