4-2 CSS3文字与字体 嵌入字体@font-face
2015-05-17
【@font-face】
可以加载服务器上的字体,即使用户电脑里没有装。
@font-face {
font-family: "MOOC Font";
src: url("http://www.imooc.com/Amaranth-BoldItalic.otf");
}
div{
font-family: "MOOC Font";
}
0
采集 0
8-4 CSS3中的变形--位移 translate()
2015-06-28
translate(%x, %y)中的百分比是自身的长宽,而其父元素
查看代码快照
1
采集 0
4-1 CSS3文字与字体 text-overflow 与 word-wrap
2015-05-17
【文字溢出时显示省略号】
text-overflow:ellipsis;
overflow:hidden;
white-space:nowrap;
0
采集 0
1-1 什么是CSS3?
2015-05-17
-webkit :chrome safari
-moz :firefox
-ms :IE
-o :opera
0
采集 0
举报
0/150
提交
取消