3 Star 2 Fork 1

叛道 / prefixes.scss

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Prefixes.scss

CSS(3) prefixes mixins library for Sass/Scss, Custom you need CSS prefixes.

Install

Bower install :

bower install prefixes.scss

Download :

Example

Scss:

@import "prefixes";

.example {
    @include clearfix();
    @include border-radius(4px);
    @include box-shadow(0 1px 5px rgba(0, 0, 0, .5));
}

Sass:

@import "../prefixes"

.example
    @include clearfix()
    @include border-radius(4px)
    @include box-shadow(0 1px 5px rgba(0, 0, 0, .5))

CSS:

.example {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    -ms-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); 
}

.example:before, .example:after {
    content: " ";
    display: table; 
}

.example:after {
    clear: both; 
}

Changes

Change logs

References

License

The MIT license.

Copyright (c) 2015 Pandao

Repository Comments ( 0 )

Sign in to post a comment

About

CSS(3) prefixes mixins for Sass/Scss expand collapse
JavaScript
MIT
Cancel

Releases

No release

prefixes.scss

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://git.oschina.net/pandao/prefixes.scss.git
git@git.oschina.net:pandao/prefixes.scss.git
pandao
prefixes.scss
prefixes.scss
master

Search