-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path_transition.scss
66 lines (60 loc) · 1.98 KB
/
_transition.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* @author Bilal Cinarli */
/** -------------------------------------------
Transition Related Mixins
------------------------------------------- **/
/**
* CSS Transition
*
* Outputs CSS3 transition code with defined prefixes
* http://caniuse.com/#search=transition
* https://developer.mozilla.org/en-US/docs/Web/CSS/transition
* Formal syntax: [ none | <single-transition-property> ] || <time> || <timing-function> || <time>
* current spec, older Android browsers and Safari 5.1 need -webkit
*/
@mixin transition($content...){
@include prefixer(transition, $content, webkit);
}
/**
* CSS Transition Delay
* Outputs CSS3 transition-delay code with defined pferixes
* https://developer.mozilla.org/en-US/docs/Web/CSS/transition-delay
* Formal syntax: <time>#
*/
@mixin transition-delay($time){
@include prefixer(transition-delay, $time, webkit);
}
/**
* CSS Transition Duration
* Outputs CSS3 transition-duration code with defined pferixes
* https://developer.mozilla.org/en-US/docs/Web/CSS/transition-duration
* Formal syntax: <time>#
*/
@mixin transition-duration($time){
@include prefixer(transition-duration, $time, webkit);
}
/**
* CSS Transition Property
* Outputs CSS3 transition-property code with defined pferixes
* https://developer.mozilla.org/en-US/docs/Web/CSS/transition-property
* Formal syntax: none | <single-transition-property># [ ‘,’ <single-transition-property># ]*
*/
@mixin transition-property($content...){
@include prefixer(transition-property, $content, webkit);
}
/**
* CSS Transition Timing
* Outputs CSS3 transition-timing-function code with defined pferixes
* https://developer.mozilla.org/en-US/docs/Web/CSS/transition-timing-function
* Formal syntax: <timing-function>#
*/
@mixin transition-timing-function($content...){
@include prefixer(transition-timing-function, $content, webkit);
}
/**
* App Transition
*
* General transition definition for app
*/
@mixin app-transition(){
@include transition(all $base-duration $base-easing);
}