English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
CSS3is the latest development of the Cascading Style Sheets language, aimed at expanding CSS2.1It brings many long-awaited novelties, such as rounded corners, shadows, gradients, transitions or animations, as well as new layouts, such as multi-column, flexible boxes or grid layouts. The experimental features have vendor prefixes and should be avoided in production environments, or used with extra caution, as their syntax and semantics may change in the future.
CSS3new features, such as rounded corners, graphical borders, block shadows and text shadows, using RGBA to achieve transparency effects, gradient effects, using @Font-Face realizes custom fonts, multi-background images, text or image deformation processing (rotation, scaling, skewing, moving), multi-column layout, media queries, etc.
CSS is used to control the style and layout of web pages.
CSS3 which is the latest CSS standard.
This tutorial explains CSS3 and new features.
CSS3 Animation example, demonstrating an animation with a red background and a green background changing.
!DOCTYPE html> <html> <head> <style> div { width: 100px; height: 100px; background: red; -webkit-animation: myfirst 6s; /* Chrome, Safari, Opera */ animation: myfirst 5s; } /* Chrome, Safari, Opera */ @-webkit-keyframes myfirst { from {background: red;} to {background: green;} } @keyframes myfirst { from {background: red;} to {background: green;} } </style> </head> <body> <p><b>Attention:</b> IE 9 And earlier versions do not support CSS3 Animation properties. </p> <div></div> </body> </html>Test and see ‹/›
On the Basic Tutorial website, we provide a complete CSS3 Reference manual, including syntax, examples, and browser support information for all properties and element selectors.