Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: how to create a slanted transparent shape with background image?

azizul:

I want to achieve something like this - it has a background image. I only able to make a slanted div like this-


.shape {
position: relative;
width: 100%;
height: 290px;
background: rgba(6, 180, 248, 1);
}

.shape:after {
position: absolute;
width: 100%;
height: 100%;
content: "";
background: inherit;
top: 0;
right: 0;
bottom: 0;
left: 0;
transform-origin: top left;
transform: skewY(-4deg);
}











but how can I make it transparent with a background image? can anyone please help me



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: how to create a slanted transparent shape with background image?

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×