CSS Learning (12)-text linefeed Theory and Practice
I. theory:
1. word-wrap:
A. normal performs line breaks in spaces or hyphens
B. break-word does not cut off the line feed of English Words
2. word-break:
A. normal Chinese to boundary Chinese character line feed, English from the entire word line feed
B. break-all forcibly truncate the line feed of English Words
C. keep-all cannot be disconnected
3. while-space:
A. normal Default Value
B. pre text spaces will be held by browsers
C. The nowrap text will be in the same line until it encounters a line break
D. pre-line merge the blank character sequence to retain the linefeed.
E. pre-wrap retains the blank character sequence and performs line feed normally.
F. inherit inherits the while-space attribute of the parent element.
Ii. Practice:
1.
I am a fool, good at eating all kinds of good things. My hope is: every meal can eat delicious food. If it is not delicious, you can have a meal or a meal. If it is not, I will have a better meal. If it is not, I will keep it and try to have a better meal. I'm a chihuo. love eating ~ I am a fool, good at eating all kinds of good things. My hope is: every meal can eat delicious food. If it is not delicious, you can have a meal or a meal. If it is not, I will have a better meal. If it is not, I will keep it and try to have a better meal. I'm a chihuo. love eating ~ I am a fool, good at eating all kinds of good things. My hope is: every meal can eat delicious food. If it is not delicious, you can have a meal or a meal. If it is not, I will have a better meal. If it is not, I will keep it and try to have a better meal. I'm a chihuo. love eating ~ I am a fool, good at eating all kinds of good things. My hope is: every meal can eat delicious food. If it is not delicious, you can have a meal or a meal. If it is not, I will have a better meal. If it is not, I will keep it and try to have a better meal. I'm a chihuo. love eating ~ I am a fool, good at eating all kinds of good things. My hope is: every meal can eat delicious food. If it is not delicious, you can have a meal or a meal. If it is not, I will have a better meal. If it is not, I will keep it and try to have a better meal. I'm a chihuo. love eating ~