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 trialAnthony Scott
Courses Plus Student 9,001 Pointssuggestions 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
Thanks
1 Answer
Steven Parker
231,110 PointsYou 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.