This commit is contained in:
parent
2b06612a0c
commit
fe9d02ffc7
8 changed files with 288 additions and 505 deletions
|
|
@ -16,6 +16,36 @@
|
|||
|
||||
|
||||
|
||||
@mixin figure-3-1(){
|
||||
& > figure{
|
||||
aspect-ratio: 3/1;
|
||||
overflow: hidden;
|
||||
img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@mixin figure-2-1(){
|
||||
figure{
|
||||
aspect-ratio: 2/1;
|
||||
overflow: hidden;
|
||||
img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@mixin figure-16-9-hover{
|
||||
figure{
|
||||
aspect-ratio: 16/9;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue