I've completed working on a page in which the main heading of the page, when scrolled down ,shrinks and fits to the left top of the page. Did this animation with javascript, if scroll size> 10px, reduced the font size and added a class in which fixed property was declared.
after finishing the page decided to add locomotive scroll which worked properly except for this part. Now the main heading nor shrinks or sticks on the top.. how can i fix this
I've completed working on a page in which the main heading of the page, when scrolled down ,shrinks and fits to the left top of the page. Did this animation with javascript, if scroll size> 10px, reduced the font size and added a class in which fixed property was declared. after finishing the page decided to add locomotive scroll which worked properly except for this part. Now the main heading nor shrinks or sticks on the top.. how can i fix this