W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: [gradients] basics

From: Ph. Wittenbergh <jk7r-obt@asahi-net.or.jp>
Date: Mon, 9 Nov 2009 14:15:54 +0900
Message-Id: <56F33CC8-1AD9-465B-8E3A-CE6B43921C0A@asahi-net.or.jp>
To: www-style List <www-style@w3.org>

On Nov 9, 2009, at 1:29 PM, Andrew Fedoniouk wrote:

> background: linear-gradient(magenta yellow), url(...)
>
> has no visual effect but will force image to be downloaded.
> Image at url(...) will be covered by linear gradient in full.

background: linear-gradient(rgba(255,0,0,0.5), rgba(10,10,10,.25)),  
url(image.png);

A semi transparent gradient covers the image.

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/
Received on Monday, 9 November 2009 05:16:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT