-
移動端用translate3d可以開啟手機的3d硬件加速
查看全部 -
用border做三角形的思路不錯
{
content:"";
width:0;
height:0;
overflow:hidden;
border:20px solid transparent;
border-bottom-color:red;
position:absolute;
bottom:0;
}
查看全部 -
Dafont查看全部
-
定義moveDown
查看全部 -
ease-in-out:動畫由快到慢再到快
ease-in:由快到慢
backwards:動畫在0.2s播放前,讓動畫處于開始狀態查看全部 -
獲取的data-icon的屬性值,用[data-icon]
查看全部 -
字體格式 @font-face?{ ????font-family:?"Raphaelicons"; ????src:url('../fonts/raphaelicons-webfont.eot')?format('eot'), ????????url('../fonts/raphaelicons-webfont.ttf')?format('truetype'), ????????url('../fonts/raphaelicons-webfont.woff')?format('woff'), ????????url('../fonts/raphaelicons-webfont.svg')?format('svg'); ????font-weight:?normal; ????font-style:?normal; }
查看全部 -
制造三角形兩種方法{content: ""; height: 0; width: 0; border: 20px solid transparent; border-bottom-color: #821334;} {position: absolute; height: 200px; width: 200px; background-color: #FA96B5; -webkit-transform: rotate(45deg); overflow: hidden; backface-visibility: hidden;}盒子正方形旋轉45度,把上半部分溢出隱藏。
查看全部 -
+號作為選擇器是指緊跟其后的元素,~是尋找后面的兄弟級元素。
查看全部 -
CSS3 ?backface-visibility
查看全部 -
css3的@font-face設置字體 ?h5的data-icon="H" 取出字體庫字體
查看全部
舉報