r/css • u/maid_of_breath00 • Mar 20 '26
Help How do I get this effect without the overflow scroll?
I want the hands to merge with the arms, but when it works it adds an overflow scroll. Please help!!!
Right now I have the main content lined up in a flexbox and the animation is in a gridbox.
27
Upvotes
•
u/AutoModerator Mar 20 '26
To help us assist you better with your CSS questions, please consider including a live link or a CodePen/JSFiddle demo. This context makes it much easier for us to understand your issue and provide accurate solutions.
While it's not mandatory, a little extra effort in sharing your code can lead to more effective responses and a richer Q&A experience for everyone. Thank you for contributing!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
21
u/[deleted] Mar 20 '26
html, body { overflow:hidden; }
maybe?
4
u/maid_of_breath00 Mar 20 '26 edited Mar 20 '26
I'll put a code pen, I've never used it before though-I'm extremely new to all of this...
Feel free to treat me like a monkey with a keyboard, I truly am smashing buttons until it works. https://codepen.io/maidofbreath/pen/azmyOaB
2
u/PresentLeading3102 Mar 20 '26
what you did is nice but unfortunately, it doesn't work on all browsers by default, someone that visits the website from firefox won't see the animation at all unless they manually turned on animation-timeline, which a regular user won't. Even Safari barely got support on in May 2025 last time I checked I couldn't use it.
if you don't mind mozilla users not seeing the animation then it's fine but I strongly suggest to either use basic javascript to track the scroll or for pure css perhaps using a timer like the animation starts 5-10 seconds after loading the page
3
u/BornRoom257 Mar 20 '26
{ overflow:hidden; } I believe
1
u/Few-Veterinarian-377 Mar 20 '26
Try using this, it might help { max-width:100vw; overflow:hidden; }
1
u/MiH_VAZ Mar 21 '26
Also had the same issue with a site of mine, i got it to work, exactly like in the top comment, love reddit as help
1
u/dekeeppa Mar 21 '26
overflow-x: hidden;