-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_mixins.scss
More file actions
41 lines (35 loc) · 844 Bytes
/
Copy path_mixins.scss
File metadata and controls
41 lines (35 loc) · 844 Bytes
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
@use '../abstracts/variables' as *;
@mixin centerer {
display: flex;
justify-content: center;
align-items: center;
}
@mixin animal-background($amount, $path) {
background: linear-gradient(transparentize(white, $amount), transparentize(white, $amount)), url($path), no-repeat;
background-size: 290px;
background-position: center center;
}
@mixin arrow($arrow-root) {
@each $side in $sides {
@if $side == $arrow-root {
border-#{$side}: 30px solid $bubble-color;
} @else {
border-#{$side}: 20px solid transparent;
}
}
}
@mixin bp-min-max($point-1, $point-2) {
@media (min-width: #{$point-1}) and (max-width: #{$point-2}) {
@content;
}
}
@mixin bp-max($point) {
@media (max-width: #{$point}) {
@content;
}
}
@mixin bp-min($point) {
@media (min-width: #{$point}) {
@content;
}
}