Team_Share_090510_Must_or_May
- 2. 应当
破坏用户习惯
断裂用户依赖
有碍用户体验
- 4. 圆角
CSS3 Draft 的新特征:
.radius‐s {
border‐radius:8px;
}
.radius‐s‐piece {
border‐radius:8px 8px 8px;
}
.radius‐s‐fragile {
border‐radius‐top‐left:8px;
border‐radius‐top‐right:8px;
border‐radius‐bottom‐left:8px;
border‐radius‐bottom‐right:8px;
}
- 7. Internet Explorer 6,7
VML = Vector Markup Language
<html xmlns=quot;http://www.w3.org/1999/xhtmlquot;
xmlns:v=quot;urn:schemas‐microsoft‐com:vmlquot;>
<v:roundrect
style=quot;zoom:1;margin:20px;width:300px;height:200px;quot;
fillcolor=quot;#000quot; strokecolor=quot;#f00quot;></v:roundrect>
<style style=“text/css”>
v:* {behavior:url(#default#VML);}
</style>
- 8. 按钮,类按钮
Compute Style (button , input)
Custom Style (button , input)
!
button {/*blah blah*/}
button.hover {/*blah blah*/}
button.active {/*blah blah*/}
- 10. 透明
.opacity‐s {
opacity:.3;
}
.opacity‐draft {
rgba(0,0,0,0.3)
!
}
.opacity‐i {
filter:alpha(opacity=30);
}
- 14. 安全的字体
Windows XP: Arial,Verdana,Tohama…+宋体,明体
Windows Vista: Arial,Verdana,Tohama,Segoe UI…+宋体,微软雅黑,微软正
黑
Leopoard:Helvetica,Lucida,Tohama,华文黑体,华文细黑
Linux:?
@font‐face {
font‐family:tohama;
src:url(tohama.ttf);
}
! !
http://devfiles.myopera.com/articles/593/webfonts.html