- added test banner svg
- need to figure out a better deal with font size and screen size
This commit is contained in:
21
styles/elements/banners_svg.css
Normal file
21
styles/elements/banners_svg.css
Normal file
@@ -0,0 +1,21 @@
|
||||
.banner_svg {
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
height: min(26vw, 150px);
|
||||
|
||||
background-image: url(../img/banner.svg);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-repeat: repeat;
|
||||
background-position-x: 0%;
|
||||
|
||||
animation-name: slide_svg;
|
||||
animation-iteration-count: infinite;
|
||||
animation-duration: 30s;
|
||||
animation-timing-function: linear;
|
||||
animation-direction: normal;
|
||||
}
|
||||
@keyframes slide_ssvg {
|
||||
from {background-position-x: 0%;}
|
||||
to {background-position-x: 100%;}
|
||||
}
|
||||
Reference in New Issue
Block a user