CSS3 linear gradients – Dev.Opera

Posted: March 22nd, 2011 | Author: | Filed under: Techy, Web Design, Web Detective | Tags: | No Comments »

CSS3 linear gradients – Dev.Opera.

For as long as we can remember, we have used colour gradients on the Web to brighten things up, and add class to designs. If you want to create a fantastic looking button, panel, gauge, progress bar or other UI feature, a gradient is the way to go.

Up until now, we have always used repeated background images to create gradient effects. The CSS is simple, and creating a gradient using Photoshop, Fireworks, or another graphics tool is not hard. However, doing it this way is rather inflexible, given that if you want to vary the colour scheme or other features of the gradient, you need to go back to your graphics tool and create another image! Wouldn’t it be better if you had complete control over the gradients using CSS?

CSS3 comes to the rescue with theĀ CSS Image Values and Replaced Content Module Level 3: part of this module defines CSS gradients, which allow us to create any gradients we want using only CSS. In this article I will explore how to use linear and repeated linear gradients, which are supported across Opera 11.10+, Firefox 3.6+, Safari 5.03+ and Chrome 7+.

Share

Bokeh with CSS3 Gradients | Nimbupani Designs

Posted: March 1st, 2011 | Author: | Filed under: Photography, Techy, Web Design | Tags: , , | No Comments »

Bokeh with CSS3 Gradients | Nimbupani Designs.

I like this a lot, CSS3 gradients, shapes and making it look like bokeh, quite an elaborate way though when you can just use an image but it shows what you can do with CSS3 and of course don’t expect it to work in Internet Explorer.

Bokeh is a photographic term for background objects/lights when they are well out of focus and look like circles and some lenses have good bokeh others don’t.

Want to know more about bokeh or whether your SLR lens has good or gad bokeh, then I hand over to the excellent Ken Rockwell.

Share