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

Sublime Text and Flex

I am currently using Sublime Text 2 and and trying to use Flex (as in this video http://css-tricks.com/video-screencasts/131-tinkering-flexbox/?play=true). I have create the divs with color gradients to my own style preferences and they look good. As soon as I give the section "display: flex" it all goes wrong. The divs all disappear.

Is Sublime Text 2 compatible with Flex? Do I need to use a syntax? Please help.

1 Answer

I don't think it's an issue with Submline Text ( the divs are disappearing in the browser, correct? ). But it may be a browser issue. Make sure you are making the correct syntax for the browser you are using.

Here is a helpful link: http://css-tricks.com/snippets/css/a-guide-to-flexbox/