added aspect ratio
This commit is contained in:
parent
115a98ab6a
commit
e3a2833be2
1 changed files with 2 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ nav > div {
|
||||||
max-height: 80%;
|
max-height: 80%;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
|
aspect-ratio: 1031/580;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
height: auto;
|
height: auto;
|
||||||
right: 20%;
|
right: 20%;
|
||||||
|
|
@ -141,6 +142,7 @@ nav > div {
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
|
aspect-ratio: 1/1;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: auto;
|
height: auto;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue