[Resolved] How to add two borders using hook

Home Forums Support [Resolved] How to add two borders using hook

Home Forums Support How to add two borders using hook

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #836563
    pancakebg

    Hey guys, i need to recreate the site in the URL below and i’m wondering how to add these borders on a same level which are located above the header taking only 50% of the screen.

    #836763
    David
    Staff
    Customer Support

    Hi there,

    pure CSS way using liner-gradients:

    body:before {
        content: '';
        display: block;
        width: 100%;
        height: 20px;
        background: rgb(67, 62, 122);
        background: linear-gradient(90deg, rgba(67, 62, 122, 1) 50%, rgba(249, 6, 87, 1) 50%);
    }

    Just change the rgba colors to suit.

    #836806
    pancakebg

    David, you’re the man! 😀 Thanks!

    #836843
    David
    Staff
    Customer Support

    Cool – happy to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.