File tree Expand file tree Collapse file tree 5 files changed +1636
-8
lines changed Expand file tree Collapse file tree 5 files changed +1636
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- Subproject commit a936336763eacb049c9b5f6bfe16896759ef0bb4
1
+ Subproject commit daff4620aa00d3fee9998a4da8bc563fecfde458
Original file line number Diff line number Diff line change 64
64
}
65
65
}
66
66
67
+ // - Mixin: Cover
68
+ ///
69
+ /// Useful shortcut for setting background size to cover
70
+ ///
71
+ /// @param {variable} $x [center] - x position
72
+ /// @param {variable} $y [center] - y position
73
+ /// @group layout
74
+ /// @example
75
+ /// div.hero {
76
+ /// @include cover(top, center);
77
+ /// }
78
+
79
+ @mixin cover ($x : center , $y : center ) {
80
+ width : 100% ;
81
+ height : 100% ;
82
+ background-size : cover ;
83
+ background-repeat : no-repeat ;
84
+ background-position : $x $y ;
85
+ }
67
86
// - Mixin: Full Page
68
87
///
69
88
/// Create a responsive full page section with intelligent defaults.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " knapsack" ,
3
- "version" : " 1.0 .0" ,
3
+ "version" : " 1.1 .0" ,
4
4
"description" : " A handy bag of sass utilities and mixins" ,
5
5
"main" : " knapsack/_index.scss" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments