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 CSS Layout Basics Positioning Page Content How Z-index Works

anyone know how to create a skewed footer?

I'm trying to make a skewed footer but when I rotate it there is always white space that I need to get rid of. I tried adding bottom padding but all that does is push the page down further.

Cameron Childres
Cameron Childres
11,820 Points

Maybe you could hide the white space through negative margin values, or make a triangle above your regular footer to make it appear skewed?

1 Answer

Brandon White
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brandon White
Full Stack JavaScript Techdegree Graduate 35,771 Points

Hi Don-Alex,

If you're trying to skew the footer (and without knowing what your code looks like), I would suggest using the transform property, and using the skew, skewX or skewY CSS functions to skew it the degree that you want.

Hope this helps.