Giter Site home page Giter Site logo

base's Introduction

Base is a semantic, lightweight and extensible framework to power the next generation of responsive websites.

It's created and maintained by the team at @agencysc. Head over to base.gs to try it out and follow @BaseGS for framework updates.

Get Started

Getting started building websites with Base is easy. You can:

What's Inside

When you download Base you'll see a boilerplate index.html file and a folder structure like this:

| js/
    vendor/
      jquery-1.10.2.min.js
      modernizr-2.6.2.min.js
| less/
    _buttons.less
    _forms.less
    _layout.less
    _mixins.less
    _menus.less
    _reset.less
    _type.less
    _variables.less
    base.less (compiles)
    desktop.less (compiles)
    mobile.less (compiles)
    tablet.less (compiles)

To note:

  • Files prefixed with ‘_’ do not directly compile.
  • The latest versions of jQuery and Modernizr are included for convenience.
  • Base supports all major modern browsers and IE7+.

Compiling LESS

Base requires a LESS CSS compiler to work its magic. This can be done with Grunt (instructions below) or one of these third-party GUI tools:

Compiling with Grunt

Grunt is an automated Javascript task-runner installed and managed by npm (the Node.js package manager). If you're unfamiliar with npm you can install it from the Node.js website.

In the command line

  1. Install grunt-cli with npm install -g grunt-cli
  2. Navigate to your Base install and run npm install to load dependencies.
  3. Run grunt dev to start watching and compiling the 4 main .less files.

Using Base

Base is easiest to learn by playing with the code. The default index.html file contains a quick reference for the reset and grid mixins. For more detail view the Base Wiki.

Bugs & Feature Requests

If you find bugs or have any feature requests please open a new issue. It helps if you’re clear about how to reproduce the issue, and what might be causing it.

Contributing

Pull requests are very welcome. Please follow the same coding style already set within the Base files and keep commits as clean as possible with a detailed explanation of what your pull request is doing.

Base is maintained through the master branch, bundled into releases as required. Experimental or major features will split out into separate branches.

Authors & Key Contributors

Copyright

Copyright 2013 Agency Strategic Creative under the Apache 2.0 license.

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.