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

Tomasz Sporys
Tomasz Sporys
11,258 Points

Is the class ".img-responsive" replaced/renamed with ".img-fluid" in Bootstrap4?

I can't find it on the internet. On older videos we were using .img-responsive class for images and in Bootstrap 4 we use .img-fluid. Are these two different things or the same, just depends what version of bootstrap you use?

1 Answer

Bryce Santos
Bryce Santos
11,157 Points

It sure looks like it. I looked at the references on their websites comparing both 3 and 4, and it looks like img-fluid replaces img-responsive.

Good catch on that one. Definitely a good thing to know!