HTML5 + CSS3 New Content summary !!!!! Absolutely dry, html5css3
Speaking of H5C3, do you think there will be a lot of things? Today I have compiled a summary of the content;
What are CSS3 selectors?
A: attribute selector, pseudo-class selector, and pseudo-element selector.
What are the new features of CSS3?
Answer: 1. Color: added RGBA and HSLA mode.
- Text shadow (text-shadow ,)
- Border: border (border-radius) border shadow: box-shadow
- Box Model: box-sizing
- Background: background-size sets the background image size. background-origin sets the origin of the background image. background-clip sets the cropping area of the background image, separated by ",". You can set multiple backgrounds, adaptive Layout
- Gradient: linear-gradient, radial-gradient
- Transition: transition for animation
- Custom Animation
- The only pseudo element introduced in CSS3 is selection.
- Media query, multi-Column Layout
- Border-image
- 2D conversion: transform: translate (x, y) rotate (x, y) skew (x, y) scale (x, y)
- 3D Conversion
What are the new pseudo classes in CSS3?
P: first-of-type: select each <p> element of the first <p> element of its parent element.
P: last-of-type: select each <p> element of the last <p> element of its parent element.
P: only-of-type: select each <p> element that is unique to its parent element.
P: only-child: select each <p> element that belongs to the unique child element of its parent element. P: nth-child (2) select each <p> element that belongs to the second child element of its parent element. : Enabled and: disabled control the disabled status of the Form Control.
: Checked, single checked, or check box selected. What are the new features of html5 and those elements removed? How can I solve the browser compatibility problem of HTML5 new labels? (Web Front-end learning and communication group: 328058344 chat prohibited, not welcome !)
How to differentiate HTML and HTML5?
New features:
IE8, IE7, and IE6 support document. the tags generated by the createElement method can be used to allow these browsers to support HTML5 new tags. After the browser supports new tags, you also need to add the default tag style:
Of course, the best way is to directly use the mature framework, and the most used is the html5shim framework. The above content is summarized by yourself. If you have any mistakes, please correct me.