开发者

How to make a angled arrow like this with gradient and transparent?

开发者 https://www.devze.com 2023-04-12 19:25 出处:网络
How to make a angled arrowlike this with gradient and transparent? I made a block with gradient here. need help to convert into arrow.

How to make a angled arrow like this with gradient and transparent?

I made a block with gradient here. need help to convert into arrow.

http://jsfiddle.net/jitendravyas/aZ65c/2/

I need a compatible with ie8 compati开发者_高级运维bility

How to make a angled arrow like this with gradient and transparent?


@jitendar; check this out i make it with pure css:

.button {width:70px;
    height:140px;
    overflow:hidden;
}
.button:after {
    content:"";
    width:100px;
    height:100px;
    background: linear-gradient(left top, #cb60b3 0%,#c146a1 50%,#a80077 51%,#db36a4 100%);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    display:block;
    margin-top:20px;
    margin-left:25px;
}

Check the fiddle http://jsfiddle.net/sandeep/aZ65c/7/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号