Giter Club home page Giter Club logo

cobalt's Introduction

cobalt

It's 2018, browsers are great, CSS Grid is here, and it's time to rethink the basics.

Cobalt is an all-purpose SCSS boilerplate with as few styles as possible. Inspired by default browser stylesheets, it's meant to make almost any HTML look readable, using "semantic" styles. It sets up a strong typographic foundation and a versatile spacing system based on margin collapsing, in addition to handling tables, code blocks, and form elements in a modern way.

It's highly customizable โ€” almost everything is connected to sass variables โ€” so it can quickly adapt to any kind of project. It can grow and transition from HTML prototyping all the way to production stylesheets for complex sites. Some of the options are meant to accommodate this duality of purpose, attempting to achieve a readable quasi-layout when there is none, and getting out of your way when you start building a real one.

Some normalize.css-style cross-browser normalization is applied, but kept to a minimum. It's okay for browsers to do their own thing sometimes.

A few extra scss partials are included with more opinionated stuff. They provide simple solutions to common web design patterns, showing how cobalt's variables and mixins can be used.

Cobalt is not a layout framework. With wide support for Grid and Flexbox, CSS layout no longer needs to rely on frameworks to achieve interesting or complex results. Old browsers? They'll be fine getting a single-column flow layout using Cobalt's readable foundation. If your HTML is good, you shouldn't need much CSS.

cobalt's People

Contributors

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