background gradient css

 .card-inner {

    position: absolute;

    width: 100%;

    padding: 5px 15px;

    background-size: 50% 50%;

    border: inset .5em transparent;

    background-color: #1a82f7;

    background: url(images/linear_bg_2.png);

    background-repeat: no-repeat;

    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a82f7), to(#2F2727));

    background: -webkit-linear-gradient(top, #2F2727, #1a82f7);
    background: -moz-linear-gradient(top, #2F2727, #1a82f7);
    background: -ms-linear-gradient(top, #2F2727, #1a82f7);
    background: -o-linear-gradient(top, #2F2727, #1a82f7);
} 



Leave a Reply