DAY1:CSS3 Learning

Source: Internet
Author: User

CSS3 is an upgraded version of CSS2, 3 is the version number, it adds a lot of powerful new features on the basis of CSS2.1. The mainstream browser Chrome,Safari,Firefox,Opera, and even 360 have already supported most of CSS3 's features,IE10 Also began to fully support CSS3 in the future.

Different browsers may require different prefixes when writing CSS3 styles. it indicates that the CSS property or rule has not yet become part of the World Wide Web Standard, is the browser's private property, although the newer version of the browser does not need a prefix, but in order to better forward compatibility prefix is not necessary.

prefix

Browser

-webkit

chrome and Safari

-moz

firefox

-ms

ie

-o

opera

New features of CSS3
We used to use class, ID or tagname to select HTML elements, and CSS3 's selectors were incredibly powerful. They can reduce the number of class and ID in the label more convenient maintenance style sheet, better implementation of the separation of structure and performance.
Fillet effects used to make rounded corners usually use a background picture, or a tedious element to piece together, now very simple border-radius to help you easily fix.
Block Shadows and text shadows
Color CSS3 supports more colors and a wider range of color definitions. The new color CSS3 supports HSL, CMYK, HSLA and RGBA.
Gradient effect
Personalize fonts
Multi-background map
border background image border apply background picture.
Deformation processing
multi-column layouts Allows you to implement multi-column layouts without using multiple div tags. The browser interprets this property and generates multiple columns, allowing the text to implement a multi-column structure that imitates the newspaper. 
Media Enquiry

(MU network "Ten Days Proficient CSS3" study notes)

DAY1:CSS3 Learning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.