first commit
This commit is contained in:
20
wp-content/themes/ostal_WP/sass/02-abstracts/_mixins.scss
Normal file
20
wp-content/themes/ostal_WP/sass/02-abstracts/_mixins.scss
Normal file
@@ -0,0 +1,20 @@
|
||||
@use "../01-base/colors" as *;
|
||||
|
||||
@mixin corner-box($percent){
|
||||
clip-path: polygon(0% $percent, $percent 0%, 100% 0%, 100% $percent, 100% 100%, 0% 100%, 0% $percent);
|
||||
}
|
||||
|
||||
@mixin bg-filter{
|
||||
position: absolute;
|
||||
background-color: $dark-color;
|
||||
opacity: 97%;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
@mixin bg-filter--gradient{
|
||||
background: linear-gradient(119deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.00) 90%);
|
||||
}
|
||||
Reference in New Issue
Block a user