skip to main
|
skip to sidebar
Friday, May 14, 2010
Adding gradients to divs
Safari and Firefox require different css to create gardients:
#
myDiv{
//Safari:
background-image: -webkit-gradient(linear,left top,left bottom, from(#666), to(#000));
//Mozilla:
background: -moz-linear-gradient(top, #666, #000);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2011
(9)
►
November
(1)
►
July
(1)
►
April
(2)
►
February
(2)
►
January
(3)
▼
2010
(33)
►
November
(3)
►
October
(7)
►
September
(10)
►
June
(2)
▼
May
(4)
Hiding dotted lines around links in Firefox
Adding shadows to divs
Adding gradients to divs
How to delete a post from a Wordpress database
►
March
(1)
►
February
(3)
►
January
(3)
►
2009
(26)
►
December
(1)
►
November
(1)
►
October
(3)
►
September
(6)
►
August
(2)
►
June
(1)
►
March
(1)
►
February
(5)
►
January
(6)
►
2008
(70)
►
December
(4)
►
November
(10)
►
October
(6)
►
September
(1)
►
August
(4)
►
July
(2)
►
May
(6)
►
April
(13)
►
March
(7)
►
February
(9)
►
January
(8)
►
2007
(7)
►
December
(7)
About Me
Brian
View my complete profile
No comments:
Post a Comment