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.

HTML Responsive Images Art Direction with the Picture Element The Picture Element

Eduardo Vargas
Eduardo Vargas
5,871 Points

Is anyone using the <picture> art direction approach in 2020?

This course was made in 2015. Pretty sure at the time it was considered experimental and lacked support from a handful of browsers. Now in 2020 (5 years later), has this been adopted as a standard in responsive web development or is it still a "use once in a blue moon" kind of deal? I'd love to hear from the pro's.

1 Answer

Hi Eduardo, this is the first time I've heard of <picture>! So thanks for introducing me. I am not familiar with it so I did some research and found this interesting thread on stackoverflow. Also I checked on caniuse.com and it looks like not all browsers support it.