CSS3是对CSS2进行了扩展和升级,增加了很多新功能,下面是CSS3的所有代码:
box-shadow text-shadow border-radius border-image multiple backgrounds linear-gradient radial-gradient repeating-linear-gradient repeating-radial-gradient rgba() opacity outline-offset columns transform transform-origin perspective perspective-origin backface-visibility transition transition-property transition-duration transition-timing-function transition-delay animation animation-name animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction animation-fill-mode animation-play-state flexbox resize word-wrap word-break content counter-reset counter-increment appearance user-select text-size-adjust box-sizing box-shadow border-radius border-image flexbox
以上是CSS3的所有代码,这些功能的加入使得CSS在网页设计和排版上更加的灵活和多变。要成为一名优秀的前端工程师必须要掌握CSS3的各种功能,才能做出更加绚丽和动态的网页。