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

  • SEARCH
  • Home
  • 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 6686607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:11:28+00:00 2026-05-26T05:11:28+00:00

Any other questions relating to this either have answers giving the OLD webkit syntax,

  • 0

Any other questions relating to this either have answers giving the OLD webkit syntax, not the new syntax, or they don’t explain how to apply the border-gradient to ONLY one side.

Which browsers support gradient borders through CSS without having to use images?

I have an example at the JsFiddle below, it shows a gradient being applied to ONLY the right border, how would I make this cross browser compatible to all the browsers that currently support CSS border gradients? I believe the Gradient syntax in my example is the old syntax used by webkit, they updated the syntax a year or so ago I think, I would like to use the new syntax but i fail with every attempt. I don’t understand what in the syntax is telling the gradient to ONLY be applied to the right side, i tried adjusting numbers but I just don’t understand what’s doing it. thank you so much.

http://jsfiddle.net/nicktheandroid/MNax7/1/


Also, I have another example below, it uses the new CSS gradient syntax that all the browsers use, but the gradient is applied to all the borders, I wanted it applied to ONLY the right border, like the example above does.

http://jsfiddle.net/nicktheandroid/b875w/2/

  • 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-26T05:11:29+00:00Added an answer on May 26, 2026 at 5:11 am

    You need the values pertaining to border thickness in your code:

     0 100% 0 0/0 15px 0 0 stretch;
    

    The first four numbers are the activations of the gradient for the four borders (top, right, bottom, left) so the right border is set to 100% while the others are deactivated.

    The four numbers after the / are the width of the borders, obviously top, bottom and left are set to 0 width, and right is at 15px.

    The stretch option tells the gradient to stretch the entire way of the border length, the other option is round but this is used more with actual images (image.jpg) to decide whether to repeat the image or stretch it over the length. I don’t know if more options are available yet..

    Here is an updated demo, using your new syntax with only the right border activated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had posted other questions relating to this problem, but haven't had any responses
Searching around I haven't found any recent answers to this question. The other answers
This is very similar to a couple of other questions on stackoverflow, but they
I know the questions seems ambiguous, but I couldn't think of any other way
Given my previous questions about the the usage of AMPL. Are there any other
This question is for the people who know both Haskell (or any other functional
Which is better for performance? This may not be consistent with other programming languages,
I've seen lots of posts on SE relating to this, but none have answered
I have been looking through the other questions on the site and have found
Ive had a look at many other questions regarding this (I know there are

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.