Giter Site home page Giter Site logo

basscss's Introduction

BASSCSS

Part reset, part boilerplate, part framework, all minimal. http://jxnblk.github.io/basscss

BASSCSS is a small reset and collection of simple type and layout classes that can be used as the basis for any web project. Use it out of the box or as a base for a larger SASS project.

What's Included

  • Simple, responsive type scale
  • Type utilities
  • Margin & padding utilities
  • Layout utilties

Usage

Vanilla CSS

Include basscss.min.css (2.3kb) for all the default settings or use the unminified basscss.css (3.2kb) and edit it how you see fit.

Adjust the font stack and add your own theme/skin classes to customize the look and feel.

SASS

Import the basscss.scss file in your SASS project. You can then adjust several variables, including the font stack and base spacing unit.

Examples

Media Object with no new CSS

<div class="clearfix">
    <img src="" alt="" class="left mr1" />
    <div class="clearfix">
        <h2>Boom!</h2>
        <p>See that wasn't so hard.</p>
    </div>
</div>

Type scale classes

<h1 class="h2">Still semantically correct</h1>

Responsive type classes

<article class="responsive">
    <h1 class="h1">This heading will resize</h1>
    <h2>This one will not</h2>
    <p class="p">This paragraph will though</p>
</article>

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.