开发者

how to create rounded corner for mobile web view

Is i开发者_如何转开发t possible to create rounded corner that viewable on opera mini (version 4) ?

friend of mine asking whether i could create a mobile view site that has rounded corner on their design.


You can create round corners in Opera Mini with the same tricks that had to be used before browsers started supporting the border-radius CSS property. Opera Mini currently uses Opera Presto 2.4 which generally supports border-radius (eg in Opera Desktop 10.5), but it is not supported by Mini.


CSS3 supports this, there is also a special "-moz-border-radius" style atttribute which FF (maybe Opera) supports. Nevertheless non of them is for all browsers. One solution is to create small rounded corner images as backgrounds for panels. Take a look how GMail is doing it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜