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

SVG will never render

I am using the chrome browser, and I can never ever get SVG files to render, this has applied to many scenerios, but most recently as I was working through the CSS selectors course.

.jpg::before {
    content: url("../img/icn-picture.svg");
    margin-right: 8px;
}

I don't see any issue with the code. The file path is accurate, and simply NOTHING displays. Not even a broken image icon. it is a bit of a puzzler.