Giter Site home page Giter Site logo

neshpat / bamboo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rilwis/bamboo

0.0 0.0 0.0 390 KB

A classless CSS utility for your HTML

Home Page: https://rilwis.github.io/bamboo/

License: MIT License

HTML 44.96% CSS 54.33% JavaScript 0.71%

bamboo's Introduction

Bamboo CSS

A classless CSS utility for your HTML, which adds default styling for all HTML elements.

It's very useful when you need:

  • A quick HTML/React/Vue demo without spending time styling elements
  • A base style for your blog/website

Bamboo CSS uses normalize.css and sanitize.css to ensure consistent styling across browsers (no IE support). When using Bamboo CSS, you don't need to include normalize.css or sanitize.css anymore.

Bamboo CSS uses CSS variables for theming, allowing to dynamically change the theme if you want. By default, it provides 2 themes for light and dark modes. The theme is automatically switched based on the system mode.

All CSS variables are prefixed with --b-, allowing to use Bamboo CSS with any CSS framework without conflicts.

Bamboo CSS is very lightweight, only 1.67KB (minified and gzipped).

Demo

Features:

  • Drop in to use, no configuration, no CSS classes
  • Consistent styling across browsers thanks to normalize.css and sanitize.css
  • Supports light and dark themes (automatically detect the OS mode and switch)
  • Uses CSS variables (scoped with prefix --b-)
  • Uses rem
  • Compatible with other CSS frameworks
  • Lightweight

Usage

CDN

Use any of the link below:

<link rel="stylesheet" href="https://unpkg.com/bamboo.css">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rilwis/bamboo/bamboo.min.css">

NPM

npm install --save bamboo.css

Download

See https://rilwis.github.io/bamboo/bamboo.min.css

Credits

bamboo's People

Contributors

rilwis avatar 3x avatar caillou avatar thomasandrewmaclean avatar cbhp avatar anth12 avatar frankdilo avatar coil avatar takios avatar bmcculley avatar ln-north 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.