Code Monkey home page Code Monkey logo

andy's Introduction

Andy.scss: Open-Source Collection of Useful SASS Mixins Library.

Current Version: 1.1

Homepage: http://gillesbertaux.com/andy

The purpose of Andy is to gather useful mixins and avoid enless researches or heavy framework use. Feel free to fork it on Github and add your own mixins: https://github.com/gillesbertaux/andy

Installation

Download or use Bower:

$ bower install andy

or

gem 'rails-assets-andy'

How to use

You can either pick the mixins you find useful or include the entire file in your SASS project.

Put this mixin in your helper file:

@mixin hover($time) {
  -webkit-transition: all $time ease-in-out;
  -o-transition: all $time ease-in-out;
  -moz-transition: all $time ease-in-out;
  transition: all $time ease-in-out;
}

Then call it like:

@include hover(.3s);

[NEW] In case you want to include the entire file, you can change the default settings in andy.scss. For example, you can change the base font-size:

/* ANDY SETTINGS */

$base-font-size: 16px !default;

Additional default settings will be soon added.


Mixins availables:

  • Background Gradient
  • Background Size
  • Borders
  • Border Corners
  • Box Sizing
  • Center Block
  • Centering Block: Horizontal, Vertical, Both
  • Clearfix
  • Div Outline
  • Font Face
  • Hardware Acceleration
  • Hover
  • Image Retina
  • Line-Height
  • Media Queries
  • Opacity Black
  • Opacity White
  • Position
  • Radius
  • Scale
  • Shadows
  • Size
  • Text Shadow
  • TranslateX
  • TranslateY
  • Transitions

Contributors:

andy's People

Contributors

gillesbertaux avatar jacobnijgh avatar mknadler avatar

Watchers

 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.