Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Anthony Scott
Anthony Scott
Courses Plus Student 9,001 Points

suggestions for styling this page

I would like some suggestions for styling this page. I'm not partial to bootstrap, I just thought it would be the easiest way. I envisioned each badge to be displayed much smaller. However, I can't get the grid to display properly with any other settings. Currently, there seems to be a lot of wasted space. It also looks rather bland. I'm not much of a designer...\ https://codepen.io/antkn33/pen/vmWGNG


1 Answer

Steven Parker
Steven Parker
215,954 Points

You can easily make the badge images smaller.

In your CSS, you explicitly set the width and height of the images, so you could reduce these values if desired. Also, if you specify only the width, the image height will automatically be adjusted to stay proportional.

I didn't notice any change to the grid layout when using smaller images. But I did see some odd behavior that seemed to be related to applying the float property to the badgeName class. I don't think Bootstrap can operate correctly with float applied to the column elements.