uppercase_css

сделать ровный градиент

Recommended Posts

Добрый день.

Помогите сделать ровный градиент,как на картинке.

пробую так, но нет плавности перехода:

max-height: 150px;
background: #dedede;
background: -webkit-gradient(linear, left bottom, left top, color-stop(20%, #fff), color-stop(40%, #dedede), color-stop(70%, #fff)) !important;
background: linear-gradient(to top, #fff 20%, #dedede 40%, #fff 70%) !important;

 

header.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Member Statistics

    46,331
    Total Members
    3,128
    Most Online
    god
    Newest Member
    god
    Joined
  • Recently Browsing   0 members

    No registered users viewing this page.