https://github.com/eterey/meteor-sass-css3-mixins
Sass CSS3 Mixins! The Cross-Browser CSS3 Sass Library
https://github.com/eterey/meteor-sass-css3-mixins
Last synced: about 1 year ago
JSON representation
Sass CSS3 Mixins! The Cross-Browser CSS3 Sass Library
- Host: GitHub
- URL: https://github.com/eterey/meteor-sass-css3-mixins
- Owner: eterey
- License: mit
- Created: 2015-04-01T12:42:26.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-01T13:05:02.000Z (about 11 years ago)
- Last Synced: 2025-02-10T02:18:41.017Z (over 1 year ago)
- Language: CSS
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Sass CSS3 Mixins! The Cross-Browser CSS3 Sass Library](http://mynameismatthieu.com/sass-css3-mixins/)
By: [Matthieu Aussaguel](http://www.mynameismatthieu.com), [@mattaussaguel](https://twitter.com/#!/mattaussaguel)
List of CSS3 Sass Mixins File to be `@imported` and `@included` as you need
The purpose of this library is to facilitate the use of CSS3 on different browsers avoiding HARD TO READ and NEVER
ENDING css files
Note:All CSS3 Properties are being supported by Safari 5
more info: http://www.findmebyip.com/litmus/#css3-properties
## Version
v0.2
## Website URL
http://mynameismatthieu.com/sass-css3-mixins/
## Mixins available:
Mixins
Arguments (with default values)
css3-prefix
Will add browser specific prefixes to supplied property (and will set it to supplied value)
background-gradient
Start Color: #3C3C3C, End Color: #999999
background-horizontal
Start Color: #3C3C3C, End Color: #999999
background-radial
Start Color: #FFFFFF, Start position: 0%, End Color: #000000, End position: 100%
background-size
Width: 100%, Height: 100%
background-opacity
Color: #000, Opacity: .85
border-radius
Radius: 5px
border-radius-separate
Top Left: 5px, Top Right: 5px, Bottom Left: 5px, Bottom Right: 5px
box
Orientation: horizontal, Pack: center, Align: center
box-rgba
R: 60, G: 3, B: 12, Opacity: 0.23, Color: #3C3C3C
box-shadow
X: 2px, Y: 2px, Blur: 5px, Color: rgba(0,0,0,.4)
box-sizing
Type: border-box
columns
Count: 3, Gap: 10
double-borders
Color One: #3C3C3C, Color Two: #999999, Radius: 0
flex
Value: 1
flip
Value: ScaleX: -1
font-face
Value: Font Family: myFont, Eot File Src: myFont.eot, Woff File Src: myFont.woff, Ttf File Src: myFont.ttf
opacity
Opacity: 0.5
outline-radius
Radius: 5px
resize
Direction: both
rotate
Degree: 0, M11: 0, M12: 0, M21: 0, M22: 0
text-shadow
X: 2px, Y: 2px, Blur: 5px, Color: rgba(0,0,0,.4)
transform
Parameters: null
transform-style
Style: preserve-3d
transition
What: all, Length: 1s, Easing: ease-in-out
triple-borders
Color One: #3C3C3C, Color Two: #999999, Color Three: #000000, Radius: 0
keyframes
Animation name - pass animation css as body
animation
name duration timing-function delay iteration-count direction fill-mode play-state (http://www.w3schools.com/cssref/css3_pr_animation.asp)
## Examples and Instructions
Install package:
```bash
meteor add uzumaxy:sass-css3-mixins
```
Add some Sass build plugin for Meteor, for example:
```bash
meteor add fourseven:scss
```
Call Mixins:
```sass
@include opacity();
@include border-radius(3px);
@include transition(color, .5s, ease-in);
```
## Changelog
* Initial Release
* Beta Release
## Licence
Copyright © 2013 Matthieu Aussaguel
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.