A Sass-based responsive CSS framework.
CSS HTML Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

spaceBase

spaceBase is a Sass-based responsive CSS framework.

Many CSS frameworks are meant to be included and left alone. But spaceBase is a boilerplate layer that can be built upon and tailored for your needs. It combines best practices for today’s responsive web with the core components we use on every project. Consider it the launch pad for your adventures into cyberspace.

spaceBase is the front-end starter files for any new web project. It sets up your Sass architecture and normalizes your CSS and native HTML elements. It provides the structural groundwork for your application.

Build Status

Highlights

  • Object-oriented CSS
  • Flexbox grid system
  • Optimized for light speed
  • Helper classes and mixins
  • Common UI components
  • Cross-browser form controls
  • Supports modern browsers including IE10+

Customizable Features

  • Compatible with any Sass 3.3 compiler
  • Start with Normalize (default) or CSS Reset
  • Scalable, mobile-first grid - choose how robust you want it
  • Base font size for mobile vs desktop
  • Global variables for breakpoints, colors, fonts and more

Getting Started

  1. $ npm install spacebase or download the ZIP and copy its contents into your project folder.
  2. Use your favorite Sass 3.3 compiler to watch for changes and compile the files. (Setting up Sass is outside the scope of this document.)
  3. Open scss/_vars.scss to make changes to your global variables.
  4. Start building out your HTML. We've included index.html as a starting point.
  5. scss/base/ is the core of spaceBase. Build your UI layer in scss/ui/

Your editor can be setup with EditorConfig so that code style standards are enforced automatically. See http://editorconfig.org/#download and install the plugin for your editor of choice.

The spaceBase structure

Read the CSS Architecture Overview for documentation of the SCSS files.

fonts/
scss/
  base/
    ...
  ui/
    ...
  vendor/
    ...
  _vars.scss
  application.scss
  styleguide.scss
stylesheets/

You can remove (if downloaded from Git):

  • *.yml
  • package.json
  • Gemfile*
  • Rakefile
  • test

Credits

License

spaceBase is free to use under the MIT License.

Copyright 2013-2018 space150