大概的思路是div分為上下兩個部分,下面部分先反像旋轉90度,和上面的部分呈一個直角。hover的時候,整個div正向旋轉90度。其余的都是修飾部分的代碼。
2014-12-25
@font-face{
font-family: "MOOC Font";
src: url("http://www.xianlaiwan.cn/Amaranth-BoldItalic.otf");
}
font-family: "MOOC Font";
src: url("http://www.xianlaiwan.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