mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed background size cover
This commit is contained in:
parent
a76ee66f51
commit
da47da9d6a
9 changed files with 19 additions and 14 deletions
|
@ -18,7 +18,8 @@
|
|||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
box-sizing: border-box;
|
||||
background: url('~/sprites/lost.svg') 50% 50% no-repeat/cover;
|
||||
background: url('~/sprites/lost.svg') 50% 50% no-repeat;
|
||||
background-size: cover;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
border-radius: $radius;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: $content_bg 50% 50% no-repeat/cover;
|
||||
background: $content_bg 50% 50% no-repeat;
|
||||
background-size: cover;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: $gap;
|
||||
|
@ -40,11 +41,7 @@
|
|||
justify-content: flex-end;
|
||||
padding: $gap / 2;
|
||||
box-sizing: border-box;
|
||||
background: linear-gradient(
|
||||
330deg,
|
||||
$content_bg,
|
||||
transparentize($content_bg, 1)
|
||||
);
|
||||
background: linear-gradient(330deg, $content_bg, transparentize($content_bg, 1));
|
||||
border-radius: $radius;
|
||||
|
||||
svg {
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
border-radius: $radius;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: $content_bg 50% 50% no-repeat/cover;
|
||||
background: $content_bg 50% 50% no-repeat;
|
||||
background-size: cover;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: $gap;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue