[wp-trac] [WordPress Trac] #16461: CSS3 gradient replacements for images and rework existing
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 31 22:00:21 UTC 2012
#16461: CSS3 gradient replacements for images and rework existing
-------------------------------------+-----------------------
Reporter: cyberskull | Owner: ocean90
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 3.5
Component: Performance | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch needs-refresh |
-------------------------------------+-----------------------
Comment (by azaozz):
Replying to [comment:43 ocean90]:
Small correction: seems that both the -moz- and -o- rules don't work when
they are after the old-style -webkit- rule, so the order should be:
{{{
.grad-to-top {
background-color: #fff;
background-image: -moz-linear-gradient(top, #fff, #000);
background-image: -o-linear-gradient(top, #fff, #000);
background-image: -webkit-gradient(linear, left bottom, left top,
from(#fff), to(#000);
background-image: -webkit-linear-gradient(top, #fff, #000);
background-image: linear-gradient(to bottom, #fff, #000);
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16461#comment:44>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list