FROSTYTIPS
KPCKevin Powell - Community
•Created by FROSTYTIPS on 11/15/2024 in #front-end
Scrolling to an element on the same page - screen size issues
Hi all,
I'm creating a navbar that scrolls to items on the same page, i.e. 'contact' will scroll to the #contact section, 'about' to #about etc.
I haven't started yet but I remember this being messy, having to implement scroll-margin-top/similar js solutions when the snap was off slightly - this would get even messier when having to accommodate for different screensizes.
I'm wondering the best way to go about this? perhaps there's a package?
Thanks for your help!
3 replies
KPCKevin Powell - Community
•Created by FROSTYTIPS on 11/14/2024 in #front-end
Responsively fitting text to full width of container
I want to create a title where the font size dynamically increases/decreases to fit the full width of the container, which also responds to changes in screen size.
After poking about on stackoverflow and not really finding a one size fits all solution, I'm wondering instead if there is a package for this?
Thanks a lot!
7 replies