Last active
May 5, 2021 19:54
-
-
Save NickHatBoecker/9feb6bda54676ede4768b55f88dc72ac to your computer and use it in GitHub Desktop.
Revisions
-
NickHatBoecker revised this gist
May 5, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ // src/components/Newsticker.vue <style lang="scss" scoped> .newsticker { height: 100px; -
NickHatBoecker created this gist
May 5, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ <style lang="scss" scoped> .newsticker { height: 100px; overflow: hidden; position: relative; &__text { white-space: nowrap; position: absolute; top: 50%; transform: translateY(-50%); } } </style>