Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6826515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:09:25+00:00 2026-05-26T22:09:25+00:00

Something similar to this question has been asked here – HTML/CSS Gradient that stops

  • 0

Something similar to this question has been asked here –
HTML/CSS Gradient that stops at a particular height and continues further with a solid color, but as far as I can see this doesn’t work when using it on the body for a background color – which is what I want to achieve.

Specifically, I would like it to be light blue at the top of the page, gradient into dark blue 200px further down, and then continue in dark blue for ever.

Thanks to anybody who can help,

Alfo.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:09:25+00:00Added an answer on May 26, 2026 at 10:09 pm

    This should do the trick. Live example: http://jsfiddle.net/tw16/mBUZt/

    I have used the latest format for css3 gradients:

    html,body{height: 100%} /* added this as the example is an empty page */
    body{
        background:    -moz-linear-gradient(top, #319ef7 0%,#1b388e 200px,#1b388e 100%);
        background: -webkit-linear-gradient(top, #319ef7 0%,#1b388e 200px,#1b388e 100%);
        background:      -o-linear-gradient(top, #319ef7 0%,#1b388e 200px,#1b388e 100%);
        background:     -ms-linear-gradient(top, #319ef7 0%,#1b388e 200px,#1b388e 100%);
        background:         linear-gradient(top, #319ef7 0%,#1b388e 200px,#1b388e 100%);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question has been asked, in one form or another, a dozen times here,
I wanted to do something very similar to a question that has already been
I honestly have no idea if this question has been asked before, or something
I know this question has been asked in a similar fashion before, but I
I realize that similar questions have been asked about this before here on SO,
I know a similar question has already been asked, but that retrieves all the
My question is similar to many more that have been asked. I have a
I'm sure some variation of this question has been asked before but all other,
I am guessing this question has been asked many times, but i could not
Similar questions to this one have been asked but none seem to address my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.