开发者

how to create rounded corner for mobile web view

开发者 https://www.devze.com 2022-12-20 07:46 出处:网络
Is i开发者_如何转开发t possible to create rounded corner that viewable on opera mini (version 4) ?

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

精彩评论

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

关注公众号