Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] CSS now supports gradients


Yup, here's a nice little example:
http://ajaxian.com/archives/css-gradients-in-action

It'd be cool to do such gradients in Eclipse :)

On a minor note, I like the syntax of identifying a named tuplet (-webkit-gradient(blah, blah, blah) of information versus our current approach of re-interpreting the value list.

Kevin



Patrick Mueller <pmuellr@xxxxxxxxx>
Sent by: e4-dev-bounces@xxxxxxxxxxx

05/28/2009 04:16 PM

Please respond to
E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>

To
E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>
cc
Subject
Re: [e4-dev] CSS now supports gradients





WebKit now supports gradients as well:

http://webkit.org/blog/175/introducing-css-gradients/

Some of the WebKit devs are also w3c css standards authors, so if you had to bet on a syntax that will likely be standard some day ....

On May 27, 2009, at 7:49 PM, Kevin McGuire wrote:


The CSS support now supports gradients (yeah!).

For CTabFolder, it uses the CTabFolder specific gradient support.

For other widgets, it draws the gradient.


A few notes:


1) The original TK-UI project favors the syntax:

       background-color: gradient,
              rgb(140,140,140),
              rgb(48,48,48),
              100%;


But the CSS support is quite happy to not need the word "gradient" and to not need the commas. The syntax above does work too though. TBD.


2) It's legal to not specify any percents for the gradient ranges, in which case default ranges are calculated based on equidistance between the colors.



Patrick Mueller - http://muellerware.org/



_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev


Back to the top