Skip to content
Snippets Groups Projects
Commit 0de176a2 authored by syuilo's avatar syuilo
Browse files

enhance(client): improve marquee

parent 1778269e
No related branches found
No related tags found
No related merge requests found
......@@ -77,10 +77,16 @@ export default {
<style lang="scss" module>
.wrap {
overflow: hidden; overflow: clip;
animation-play-state: running;
&:hover {
animation-play-state: paused;
}
}
.content {
display: inline-block;
white-space: nowrap;
animation-play-state: inherit;
}
.text {
display: inline-block;
......@@ -88,6 +94,7 @@ export default {
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-duration: inherit;
animation-play-state: inherit;
}
.paused .text {
animation-play-state: paused;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment