Giter Club home page Giter Club logo

edr_assets_sass's Introduction

eDoctor前端团队基础样式库


你也许看出来了,这几个文件的名称跟Alice的Sass版很像。没错,我就是基于我们团队的基础样式库为Alice的base.css弄的Sass版。只是实际代码略有不同而已~

具体的代码实现,我们同时借鉴了Twitter的Bootstrap,可悲的是我们还得比他们多兼容一个该死的IE6~

我们的基础样式库,就是集大家之所长,感谢所有对我们有帮助的开源项目!

文件说明

---
 |--- _variables_.scss    全局变量
 |--- _mixins_.scss       自定义的Mixins,同时引入Compass的CSS3 Mixins
 |--- _reset_.scss        代码按需重置
 |--- _utilities_.scss    实用的Class们
 |--- _typo_.scss         源自@sofish的`typo.css`项目
 |--- ui/                 模块化后的UI组件
 |--- base.scss           @import上面的文件,同时等着被具体项目@import

Compass的CSS3 Mixins

  1. Site
  2. GitHub

为什么只使用Compass的CSS3部分?因为我们不想用其他部分。

安装Compass

先:

group :assets do
  gem 'compass-rails'
end

然后:

$ bundle exec compass init

版权说明

©2011~世界末日   eDoctor

Licensed under the MIT License.

edr_assets_sass's People

Contributors

antife-yinyue avatar

Watchers

 avatar  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.