Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Background with two colors that stretch left to right

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #195005
    TommyBu
    Participant

    Hi there,

    I am struggling already 13 hours to find a solution for one thing.

    I would like replicate this page:
    http://s4.postimg.org/dsgisvqgt/example.png

    I want the background be black and green stretch from left to right the whole browser behind the car, but not entirely. If you see the image, then it will be more obvious what i am talking about.

    I want the black and green meet behind the car. I am going to make the site responsive aswell.

    I am trying to make it but no idea how to structure the code.

    I really appreciate any advice.

    Thank you

    #195008
    shaneisme
    Participant

    Well if you’ve been working for 13 hours you have some code?

    If so, please put it up on CodePen (no matter how gnarly) and we can see what’s what.

    #195022
    Paulie_D
    Moderator

    Use a linear gradient as a background. You can put the colour stop anywhere you need.

    http://codepen.io/Paulie-D/pen/azLPbx

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design’ is closed to new topics and replies.