Last active
May 5, 2021 19:54
-
-
Save NickHatBoecker/9feb6bda54676ede4768b55f88dc72ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/components/Newsticker.vue | |
<style lang="scss" scoped> | |
.newsticker { | |
height: 100px; | |
overflow: hidden; | |
position: relative; | |
&__text { | |
white-space: nowrap; | |
position: absolute; | |
top: 50%; | |
transform: translateY(-50%); | |
} | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment