27.CSS3 text effects

Source: Internet
Author: User

21st Chapter CSS3 Text Effects

                                                                                  ****************************************************

                                                                                  * minimum version of query adaptation, can go: " http://caniuse.com " *

****************************************************

first, the text shadow ( CSS3 provides a Text-shadow Text shadow effect)

browser support is as follows

Opera Firefox Chrome IE Safari

Text-shadow 9.5+ 3.5+ 4+ + 3.1+

Second, text clipping

CSS3 provides the textoverflow property to control text overflow, which is to crop the overflow part, and then decide whether to add ellipses, and the attributes are as follows

(1)clip : Default value, no ellipsis is added when clipping text.

(2)ellipsis : Add ellipsis when clipping text.

for textoverflow support, it's based on his attribute value .

Opera Firefox Chrome IE Safari

(1)clip 9.63+ 2.0+ 1.0+ 6.0+ 3.1+

(2)ellipsis 10.5+ 6.0+ 1.0+ 6.0+ 3.1+

in Early versions of Opera 10.0~10.1 , prefix -o- is required . Others do not.

Third, text strokes

CSS3 provides stroke properties, both Text-storke,text-storke-width,text-storke-color , currently only WebKit engine browser support, and must be prefixed with -webkit- to be effective

Properties Opera Firefox Chrome IE Safari

Ext-storke series 15.0+ does not support 4.0+ not supported 3.1+

does not match and style, and color property is not different

Create gradient text with new effects on the CSS3 background.

27.CSS3 text effects

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.