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

Design

Is it possible to create this shape using CSS?

I'm curious if I can create the red line with grey background underneath it or if I just need to create an image of it.

Here is the link

I came across some more pretty cool CSS art today that I thought you might like.

2 Answers

I'd say so take a look at some of these.

Kevin Korte
Kevin Korte
28,149 Points

Yeah, probably so. I think this would be pretty easy to do with SVG too. I'd check browser support for both and decide from there.