关键单词与符号:
- ~ [] ^ * $ :target :enabled :disabled :checked :first-child :last-child :empty :only-child :not() selector :first-letter :first-line ::selection
:before content :after counter() chapter reset increment
多列column count gap rule -moz- -webkit- Internet Explorer Opera Firefox Chrome Safari
CSS HackQuirks Mode Standard Almost DOCTYPE strict text center margin 0 auto overflow padding + - _ # \0 \9\0 !important + \9 <!--> gt greater than lt less gte equal lte if endif
转换transform rotate() scale() orgin translate() deg skew() perspective Chrome Safari –webkit- translate() translate3d() rotate() rotate() rotate() rotate3d() scaleZ() scale3d()
过渡transition :hover :active :focus property none all property duration s ms
timing function ease linear ease in out delay
@keyframes animation fill mode play state Chrome Safari –webkit- Firefox –moz- Opera –o- name duration timing function ease linear ease in out delay iteration count infinite direction normal alternate none forwads backwards both play state paused running
CSS优化HTTP sprites Image maps Reset src href