mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added working tiny-slider!
This commit is contained in:
parent
fefec524db
commit
531bd3626a
7 changed files with 122 additions and 57 deletions
|
@ -1,22 +1,5 @@
|
|||
.wrap {
|
||||
background: $red;
|
||||
}
|
||||
|
||||
.sample {
|
||||
width: 100%;
|
||||
display: block;
|
||||
height: 24px;
|
||||
background: green;
|
||||
}
|
||||
|
||||
.slider {
|
||||
background: blue;
|
||||
height: 20px;
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
right: 50%;
|
||||
margin-left: -50vw;
|
||||
margin-right: -50vw;
|
||||
box-sizing: border-box;
|
||||
img {
|
||||
max-height: calc(100vh - 140px);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue