Coder Social home page Coder Social logo

better's Introduction

# install less => css and compress css and so on
# recess ./bootstrap.less --compress > ./bootstrap-production.css
# https://github.com/twitter/recess
npm install recess uglify-js jshint -g

# install coffee script
# https://github.com/jashkenas/coffee-script
# http://coffeescript.org/
# execute a script : coffee a.coffee
# compile a script : coffee -c a.coffee
npm install -g coffee-script

# support browers: ie8+, chrome, firefox

# jquery tip
# http://projects.nickstakenburg.com/tipped/documentation

# less => css
sh build.sh

# css master
box model
padding: 5, border: 0, margin: 10, width: 70
ie: padding + width + margin = 90
other: padding + width + margin = 100

# css layout
# fluid layout
# 1, body
# 2, container
# 3, masthead
# 4, content
# 5, sidebar
# 6, footer
# body {
margin: 10px;
background: #FFF;
}
#container {
margin: 0 auto;
width: 760px;
}
#masthead {
position: relative;
background: #F7F7F4 url(../img/bg_repeat.gif) repeat-x;
}
#content
float: right;
width: 50%;
}
#sidebar{
float: left;
width: 49.9%;
width: 50% !important;


# icon Font Awesome

better's People

Contributors

myliang avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

informaticacba

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.