The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Slanted design Reply To: Slanted design


I am stuck on this design

What are you stuck on exactly?

I want the code for the design that looks like this

??? Sorry – We aren’t here to do your work for you. If you show us your own code, and clearly explain the problem along with what you’ve tried yourself to achieve the desired outcome, we can offer suggestions on how to fix it.

General suggestion: if you’re asking for advice on how to create the rhombus shapes, I think I’d be tempted to start out with regular upright squares, and then use pseudo elements to create white triangles (on the top and bottom of the white squares) that overlap/mask out the adjacent images.