Update Koneko integration
This commit is contained in:
21
resources/public/vendor/animated-headline/partials/_mixins.scss
vendored
Normal file
21
resources/public/vendor/animated-headline/partials/_mixins.scss
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
// center vertically and/or horizontally an absolute positioned element
|
||||
|
||||
@mixin center($xy:xy) {
|
||||
@if $xy == xy {
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
bottom: auto;
|
||||
right: auto;
|
||||
@include transform(translateX(-50%) translateY(-50%));
|
||||
}
|
||||
@else if $xy == x {
|
||||
left: 50%;
|
||||
right: auto;
|
||||
@include transform(translateX(-50%));
|
||||
}
|
||||
@else if $xy == y {
|
||||
top: 50%;
|
||||
bottom: auto;
|
||||
@include transform(translateY(-50%));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user