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

-webkit- does not seem to want to work

Hey guys! I have been doing the great css deep dives! But the -webkit- in css does not want to work.

display: block;
    width: 100%;
    -webkit-transform: rotate(45deg);

this does not work on the image of "Mike" .png

I also tried out the flexbox too and that did not accept the line of code

 display: -webkit-flexbox; 

I am using Chrome for the browser and I am using Komodo Edit for code. Could it be the program that I am using?

Thanks guys

3 Answers

That worked for me on codepen

Have you played around with all vendor prefixes? It's best practice to include them all. I haven't worked through the CSS deep dive yet, so I'm not sure if they cover that. See here: http://css-tricks.com/almanac/properties/t/transform/

Thanks guys, I will try that out!