Giter Club home page Giter Club logo

littlebox's Introduction

littlebox

Super simple to use, CSS-only icons

littlebox

littlebox explained

A demo of littlebox icons in use.

Using littlebox

#####Step 1: Install littlebox through Bower or download littlebox and reference it in your project (along with Bootstrap, if not already initialized):

bower install littlebox

or

<link rel="stylesheet" type="text/css" href="lib/littlebox.min.css" />
<link rel="stylesheet" type="text/css" href="lib/bootstrap.min.css" />

#####Step 2: Add a littlebox icon to your project. The same structure is used for any littlebox:

<div class="lb-icon lb-*"></div>

Each littlebox icon is made up of three or fewer elements, but can be called with as a single element with class .lb-icon followed by the .lb-* class associated with the requested icon.

Customization

Each littlebox icon is built using borders, so an icon's color (or even individual elements within an icon) can be styled in your CSS:

.lb-*, .lb-*::before, .lb::after {
  border-color: /*YOUR COLOR HERE*/
}

Compatibility

Compatibility is still being reveiwed.

Contributing

Suggestions, feedback and contributions to the icon library or compatibility would be greatly appreciated.

ToDo

  • Make icons scalable with EM units
  • Clean up jagged Firefox edges by setting transparent borders to 'inset'
  • Compatibility testing
  • Add to icon library
  • Improve animation compatibility
  • Make usable as button groups and input addons

littlebox's People

Contributors

benguillet avatar cmaddux avatar jayay avatar

Watchers

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