For quite some time now I have been trying to find the solution, but without success. Hopefully someone around here can help me out.
I have come to understand that I will need to use -webkit, -moz, etc in order to get it to work cross browser.
I have successfully found out how to get the -moz syntax right, but I am unable to find the corresponding -webkit syntax.
Also, I have noticed a lot of people prefer background-gradients, but I am unable to reproduce the below, even by using a background-gradient generator.
The border gradient I am talking about is the following:
-moz-border-left-colors: #181818 #181818 #181818 #181818 #181818 #181818 #181818 #383838 #383838 #383838 #585858 #585858 #585858 #787878 #787878 #787878 #B8B8B8 #B8B8B8 #B8B8B8 #D8D8D8 #D8D8D8 #D8D8D8 #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF;
-moz-border-right-colors: #181818 #181818 #181818 #181818 #181818 #181818 #181818 #383838 #383838 #383838 #585858 #585858 #585858 #787878 #787878 #787878 #B8B8B8 #B8B8B8 #B8B8B8 #D8D8D8 #D8D8D8 #D8D8D8 #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF;
And the site is going to look like this: http://postimg.org/image/qeonchwpd/
Please ignore the other mistakes that can be seen in that screenshot, as those I can easily fix. It's just the border gradient I can't get to work.
As you can see I am not trying to get a gradient border around a small box, but rather left and right of the entire page! The gradient goes from black, slowly to white and then to black again.
Anyone who can help me get this to work in -webkit browsers and maybe others as well? Suggestions to get it to look better then in the screenshot are always appreciated as well!
Thanks a lot in advance!