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

JavaScript Treehouse Club - MASH MASH - CSS Changing Stuff in Your Style Sheet

Paul Lujan
Paul Lujan
1,891 Points

How do I resize my image?

How do I make the image smaller?

3 Answers

Set the width or hight in your css to whatever you need it to be.

Paul Lujan
Paul Lujan
1,891 Points

I'm changing the numbers in these lines of code and it's not changing the size of the image.

/* Logo Styling */


width: 100%;

height: 100%


What can I try next? Thank you

the width and height are both 100%, which is going to make it as big as the image can be.

try setting both to anything lower then 100% and it will make the image smaller.