I'm just been learning some HTML5/CSS3/JS and part of jQuery recently so still a noob to it for the most part but trying to make a navigation bar that's a bunch of parallelogram blocks stacked vertically, so far just messing around this is what I have for each block but this makes them rectanges and I was looking to push the top of each box over to create a parallelogram look:
.nav {
background-color: blue;
border: 1px solid black;
border-radius: 3px;
margin: 2px;
text-align: center;
font-family: Verdana;
font-weight: bold;
font-size: 1em;
color: yellow;
padding: 15px;
cursor: pointer;
}
I saw something about using 'transform: skew(xdeg)' but it didn't seem to affect anything, maybe I wasn't implementing it correctly?