Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Any Suggestions for this effect?

Hi, I was trying smooth page load with effects using jQuery. I did add some effects, however tell me if anything can be improved or not.

My Pen is here: https://codepen.io/iamamritpandey/pen/RVjrQb

1 Answer

Steven Parker
Steven Parker
243,134 Points

You could reduce loading time.

By scaling the images to sizes closer to how they will appear on the page, you can make them load faster.

scaling in CSS or in photo-editor?

Steven Parker
Steven Parker
243,134 Points

Scaling in CSS won't affect the load time. But if you make the actual image files smaller it will.

yes correct thanks