Member Avatar

Title pretty much says it all. I want a background image to have a linear gradient fade to transparent. I've faded the image out to a color by overlaying a gradient on top of it, which unfortunately would only help me if my site background is a solid color. (see codepend example) I tried to use an image in place of a color value :p No such luck. Anyone have any ideas? https://codepen.io/anon/pen/wzArAN

Member Avatar
0
20
Member Avatar

so what I'm trying to do is build a progress bar using basic page elements with CSS. http://tcll5850.proboards.com/thread/249/post-progress-bars-development what I want to do is set a solid color selected multiple colors in a gradient based off the percent completed. how can I do this?? I'm thinking to provide a hidden DIV styled with the gradient which I can get the current pixel position color from... but I'm not sure how to do that... I don't have any code yet... the display is done using <span> and CSS ([class] and [style] provided by a plugin) thanks :)

Member Avatar
0
19
Member Avatar

I would like to create my title image out of pure CSS3, but there is one feature that I'm not quite sure I can even do. Plus, the features that I know are possible don't seem to mix well. I don't know CSS very well, at least anything past the basics. I was hoping for some help. Gradient Text - i did this, and it works by itself. Drop Shadow - when combined, overrides gradient and i get a solid black shadow. Inner Bevel - ????? Is it possible to do all three things with CSS3 alone? I've googled and …

Member Avatar
0
34
Member Avatar

Hey guys, I'm having a bit of trouble with my gradient button. It looks great on Webkit, but when I try writing the gradient for FF, Opera, and IE, it doesn't work. Here is my gradient code for Webkit: background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(135,224,253,1)), color-stop(25%, rgba(83,203,241,1)), color-stop(50%, rgba(5,171,224,1))); I'm wondering how I can write this for FF, Opera, and IE to get *exactly* the same results.

Member Avatar
0
2
Member Avatar

Hi I've seen a function in numpy ([URL="http://docs.scipy.org/doc/numpy/reference/generated/numpy.gradient.html"]http://docs.scipy.org/doc/numpy/reference/generated/numpy.gradient.html[/URL]) for calculating the gradient of a 2-dimensional array. Numpy also provides 2 examples on that website (I'm more interested in the second one). I now want to use such a function in C++. Does anyone know if there is such a function in GSL? Or can someone explain to me what the numpy function does, so that I can write my own in C++? Thanks for any help.

Member Avatar
0
3

The End.