Thanks. But what I mean is to set "-webkit-background-clip" value as "text".
I know that the value "border", "content" and "padding" is supported by iPhone OS 1.0 and later, but on Apple's Safari CSS reference, it said the value "text" is supported by Safari 4 and later version, and didn't mention iPhone OS support it. So firstly I thought it is only for desktop Safari. But today, when I view Apple's HTML 5 demo on iPhone, I found it seems the "-webkit-background-clip: text" works because all apple's typography demo works fine on my iphone. The problem is when I test it by myself, it only works for desktop safari. Really confused... On 15 June, 20:36, Remi Grumeau <[email protected]> wrote: > Here, it works on desktop Safari and Mobile > Safarihttp://www.css3.info/preview/background-origin-and-background-clip/ > > Font face toohttp://www.css3.info/preview/web-fonts-with-font-face/ > > Can't tell if you combine both but it should work... > > Remi Grumeau > (+33) 663 687 206http://www.remi-grumeau.com > > Le 15 juin 2010 à 19:03, ~QQ~ a écrit : > > > > > Just test the "-webkit-background-clip: text" on my iPhone, it doesn't > > work (although it works fine on my desktop safari). But the > > interesting thing is when I open Apple's HTML 5 demo page, in section > > "typography" (http://developer.apple.com/safaridemos/showcase/ > > typography/index.html), the "-webkit-background-clip: text" works fine > > on my iPhone. Even the "@font-face" works on iPhone as well because > > the text definitely not using a iPhone native font. Does anyone can > > explain this? > > > -- > > You received this message because you are subscribed to the Google Groups > > "iPhoneWebDev" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/iphonewebdev?hl=en. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
