大概的思路是div分為上下兩個(gè)部分,下面部分先反像旋轉(zhuǎn)90度,和上面的部分呈一個(gè)直角。hover的時(shí)候,整個(gè)div正向旋轉(zhuǎn)90度。其余的都是修飾部分的代碼。
2014-12-25
@font-face{
font-family: "MOOC Font";
src: url("http://idcbgp.cn/Amaranth-BoldItalic.otf");
}
font-family: "MOOC Font";
src: url("http://idcbgp.cn/Amaranth-BoldItalic.otf");
}
2014-12-25
text-overflow:ellipsis;
overflow:hidden;
white-space:nowrap;
width:100px;
}
overflow:hidden;
white-space:nowrap;
width:100px;
}
2014-12-25
.wrapper span{}中為神馬要加display:block;才起作用?
2014-12-24
手敲一遍也沒用;每一個(gè)功能都是孤立的。沒有一個(gè)完整的項(xiàng)目。
2014-12-24