docs: add references
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 88 KiB |
@@ -0,0 +1,73 @@
|
||||
.rfm-marquee-container {
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
width: var(--width);
|
||||
transform: var(--transform);
|
||||
}
|
||||
.rfm-marquee-container:hover div {
|
||||
animation-play-state: var(--pause-on-hover);
|
||||
}
|
||||
.rfm-marquee-container:active div {
|
||||
animation-play-state: var(--pause-on-click);
|
||||
}
|
||||
|
||||
.rfm-overlay {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.rfm-overlay::before,
|
||||
.rfm-overlay::after {
|
||||
background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));
|
||||
content: "";
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
width: var(--gradient-width);
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.rfm-overlay::after {
|
||||
right: 0;
|
||||
top: 0;
|
||||
transform: rotateZ(180deg);
|
||||
}
|
||||
.rfm-overlay::before {
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.rfm-marquee {
|
||||
flex: 0 0 auto;
|
||||
min-width: var(--min-width);
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
|
||||
animation-play-state: var(--play);
|
||||
animation-delay: var(--delay);
|
||||
animation-direction: var(--direction);
|
||||
}
|
||||
@keyframes scroll {
|
||||
0% {
|
||||
transform: translateX(0%);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
}
|
||||
|
||||
.rfm-initial-child-container {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
min-width: auto;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.rfm-child {
|
||||
transform: var(--transform);
|
||||
}
|
||||