Ruby-Rose Posted January 31, 2022 Posted January 31, 2022 Site URL: https://www.naturelimpact.com/about Hello! I am trying to achieve a scrolling text animation like on this website: https://www.celebratethegoodthings.com/about I have tried using the below code but I want the paragraph to stay on one line and not wrap. Does anyone know how I might achieve this? My website is https://www.naturelimpact.com/about Password: 1 Thank you so much! .scroll{ overflow: hidden!important; position: relative!important; -moz-transform:translateX(100%); -webkit-transform:translateX(100%); transform:translateX(100%); -moz-animation: scroll 15s linear infinite; -webkit-animation: scroll 15s linear infinite; animation: scroll 15s linear infinite;} @-moz-keyframes scroll { 0% { -moz-transform: translateX(100%); } 100% { -moz-transform: translateX(-100%); } } @-webkit-keyframes scroll { 0% { -webkit-transform: translateX(100%); } 100% { -webkit-transform: translateX(-100%); } } #page {overflow-x:hidden}
tuanphan Posted February 4, 2022 Posted February 4, 2022 Add to Design > Custom CSS .scroll { white-space: nowrap !important; } Ruby-Rose 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment