Currently experimenting with a navigation bar where each component is skewed at -30 degrees. Upon clicking any piece, its corresponding content drops down for display below the clicked item.
I am aiming to have the section of the clicked piece expand into a regular rectangle to showcase the content, rather than enlarging into a parallelogram. The desired outcome is for the clicked piece to preserve its skews on top, while opening up with a rectangular base to hold the content.
I've tried adjusting how the divs contain each other and shifting the
transform: skewX(30deg);
-o-transform: skewX(30deg);
-ms-transform: skewX(30deg);
-webkit-transform: skewX(30deg);
but it only seemed to exacerbate the issue. Any assistance would be greatly appreciated!
View my jsFiddle here: http://jsfiddle.net/ZUwyj/