Aditya Sharma — Notes
Short write-ups from building this site and other projects.
- Website
- adityasharma.site · all feeds from this site
- Feed URL
https://adityasharma.site/feed.xml
Read it in your FeedListing reader
Or add to: Feedly Inoreader Raw feed
Latest posts
-
A seamless infinite marquee with no library, and why gap breaks the loop
A pill marquee in plain CSS and JS for a WordPress and Bricks page: pause on hover, reduced motion, and the one-line reason most loops visibly jump.
-
Mega menu in Bricks: from a custom class toggle to builder-only interactions
I built a hover mega menu with a few lines of JS first, then rebuilt it with Bricks interactions. The attribute selector quote that made the second version work.
-
Cutting blocking time by moving a blur one element down
Animated elements with a CSS blur were re-blurred on every frame. Putting the blur on a static child fixed it with zero visual change.
-
useGSAP doesn’t revert when its dependencies change
My heading got stuck half faded because an effect re-ran and stacked a second tween on top of the first. The fix is one option and one split.
-
My reduced-motion toggle made half the page disappear
A 0.01ms CSS transition quietly broke every GSAP from() tween. Here is how I found it and the one-line fix.