Coder Social home page Coder Social logo

ian2's Introduction

Barebones

Barebones is simple, responsive boilerplate based off the popular Skeleton project by Dave Gamache.

While there are several other active forks of Skeleton, Barebones differs by requiring no external tools or dependencies such as CSS pre-processors. Simply download and go.

Getting started

Barebones can be downloaded via zip file or the repo can be cloned using git clone https://github.com/acahir/Barebones.git.

Once you have your bare hands on Barebones, use the documentation and examples to get started.

What's in the download?

The download includes Skeleton's CSS, Normalize CSS as a reset, a sample favicon, and an index.html as a starting point. It also includes skeleton-legacy.css in case you are updating an existing site, though this stylesheet is not linked in the index.html template.

Skeleton/
├── index.html
├── css/
│   ├── barebones.css
│   ├── normalize.css
│   └── skeleton-legacy.css
└── images/
    └── favicon.png

Why Barebones?

Building off of Skeleton's awesomeness:

  • Updated to use CSS variables
  • Uses CSS Grid to replace 12-column grid system
  • Updated normalize to current version (3.0.2 -> 8.0.1)
  • Maintains backwards compatibility with Skeleton

Additional features planned and possible:

  • Support for @media prefers-color-scheme (aka Dark Mode)
  • Pending Release: Uses CSS env() function
  • Include "extensions": instructions and templates for frequently used features:
    • Navigation boilerplate
    • Code formatting
    • Smooth Scrolling
  • Add additional example site demonstrating CSS Grid layout flexibility

Browser support

Barebones does make use of modern CSS features, but the base functionality is well supported.

The most notable missing support for both features is from IE 11 or earlier. That's probably the browser that your decision will depend on.

Barebones includes a few experimental features that are not yet widely supported. If not supported, the brower will simply ignore those directives:

  • prefers-color-scheme media query: Only currently available in Safari Technology Preview
  • scroll-behavior: Chrome, Firefox
  • CSS env(): Nothing included in Barebones, but media queries were structured in such as way to make use of env() variables in the future Both of these features can be achived using other methods. In fact, both are implemented using css and vanilla javascript on the Barebones documentation page in ~50 lines of code. In the future these may be added to Barebones as "extensions".

External dependencies

  • normalize.css: Chrome, Edge, Firefox ESR+, Internet Explorer 10+, Safari 8+, Opera

Acknowledgements

Barebones is build upon the great work of the Skeleton project by Dave Gamache. It wouldn't be possible without him, and Barebones only exists because Skeleton is no longer being maintained.

The documentation page makes use of icons by FontAwesome, smoothscroll by Dustan Kasten, Google Prettify, and other great tidbits shared by many.

License

All parts of Barebones are free to use and abuse under the MIT license.

ian

ian2's People

Contributors

beansprout avatar

Watchers

James Cloos avatar  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.