css參考手冊:http://css.doyoe.com/
一、css3新加的屬性或常用的
border-radius box-shadows background-size 彈性佈局
動畫:
transform
rotate(30deg)//旋轉30度
translate() //平移
scale() //縮放
transition (需要條件觸發,如將width由100變爲200)
width 2s ease 3s(寬度變化時、過度時間、勻速(運動類型)、延遲時間)
animation (頁面加載就能觸發)
test 2s ease 1s 2 forword (自定義名稱、運動時間、運動方式、延遲時間、執行次數、結束時是否還原)
@keyframs test { //結合animation一起用
0%{width:100px}
100%{width:200px}
}
二、html5
JSON.parse、JSON.stringity()、