Hi,
Sorry for all the posts, seems like the most i’ve posted here…
I’m trying to make my mockup come to life within X but seem to be failing. Here is my initial mockup of the first section of my homepage
As you can see i’m trying to replicate the diagonal line separating the sections. Using my own CSS knowledge i’ve used a class and this
/* SKEW LEFT */
.skewleft {
background-color: rgba(88, 145, 214, 0.05) !important;
}
.skewleft:after {
content: '';
height: 100px;
width: 100%;
position: absolute;
z-index: -1;
background-color: rgba(88, 145, 214, 0.05) !important;
-webkit-transform: skewY(-5deg);
-moz-transform: skewY(-5deg);
-ms-transform: skewY(-5deg);
-o-transform: skewY(-5deg);
transform: skewY(-5deg);
margin-top: 20px;
}
Which is letting me get the initial angle that I want, however the colours are different and I don’t know why. This is just a solid bg colour but for other pages I might need a gradient so I need the colours to flow across. The line also stops dead and doesn’t carry on with the skew.