A simple example of indenting two characters in the first line of a text-indent paragraph in CSS Foundation

Source: Internet
Author: User

Li Wu:
Heng Learn to think together, honouring teachers save Thanksgiving. Leaf See root three return to one, rivers the same oneness.
Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercises to keep the body and mind, sincere advice and the line and cherish.

Ide:visual Studio 2017
Browser:chrome
Os:win7

Code

<!DOCTYPE HTML><HTML><Head>    <MetaCharSet= "Utf-8" />    <Metaname= "Author"content= "Https://www.cnblogs.com/jizuiku"/>    <title></title>    <styletype= "Text/css">P{Background-color:Bisque;            /*fixed 1em: Chinese characters Paragraph, then the width of 1 characters in writing, the beginning of the paragraph will always empty two Chinese characters width*/text-indent:2em;        }    </style></Head><Body>    <P>the good is water.        Water benefits all things without contention, where all are evil, and therefore in a way. The good, the good, and the good, the good faith, the good governance, the good, the good, the better.    The husband has no quarrel, so he has no particular. </P></Body></HTML>

Effect

CSS3 excellent, worth learning.
Learning resources: www.w3cschool.cn + itcast and Itheima video library + Pure Heart.
If you have public resources, can share to me, with your resources to learn also can.
Blog post is to watch the video, into thinking written. It's good that the teacher speaks well. Blog bad, is to give the most bitter not serious.

A simple example of indenting two characters in the first line of a text-indent paragraph in CSS Foundation

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.