Normal CSS normal stroke word

Source: Internet
Author: User

When we are in the transduction, often encounter such a common stroke words, if we are all cut into the picture will cause a lot of picture material, heavy workload, loading speed is slow, difficult to maintain .

After repeated experiments, it is found that multiple attributes of the Text-shadow can be implemented, and multiple attributes are separated by a comma , giving the element the ability to set properties of several different parameters.

{    color: #FFE339;     text-shadow: 1px 0 0 #622E00, -1px 0 0 #622E00, 0 1px 0 #622E00, 0-1px 0 #622E00;    }

The above code mainly sets 4 multi-attributes, and then lets them be in the upper and lower sides of the element, respectively, so as to achieve the effect of strokes.

Note:Text-shadow the last;(semicolon) must not be omitted, Cssgaga compression will remove the last attribute of the semicolon, resulting in a page error, so Text-shadow can not be placed in the end!

In this way, the normal CSS has made a common stroke word! It's super simple!

Normal CSS normal stroke word

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.