Renderings are as follows:
Paragraph 2 sinking method:
1, before the pseudo elements achieve
2, using the tag
control3, the first - letter
Paragraph 2 sinking method analysis:
First method decisively abandoned, the reason is that transfer the data clearly from the background, and then what will pass at this time we can not determine the background data, and the third way is abandoned, the reason is that cannot be achieved a word corresponding to two rows phenomenon, according to the second method, the following thinking:
Three label (" alone "is a label on the left, the right side of the two lines of a label, two lines below the normal text a label) - decisive part with this kind of writing method, the reason is that for Taiwan before and after data interaction was too much trouble, to maintain very inconvenient,
Use two labels, and floating against the first label, use of the nature of the floating - believe that with the floating people think of the basic characteristic of the floating element -- forget it, you can view the article "what is the nature of the floating element", you can look at the second example, here, for the background data, using the string interception, place the words in the two kinds of labels, can use JS interception, may also directly when get to intercept (background)
Paragraph 2 sinks code implementation case:
<meta charset="UTF-8">
<style>
. Wrap span {
float: left;
Width: 40 px;
height: 40px;
text-align: center;
The line - height: 40 px;
The font - size: 32 px;
font-weight: bold;
}
</style>
<body>
The sole & lt;/span>
Line - white ice, is the color of my world, unique and reclusion, my "freedom" not only do not let others decide my life, still know my personality, maintaining my individuality, synonymous with decide my life goal; Never to "status", "power" as the goal, only for his own heart dream, take good care of the matter, guardian of the struggle, & lt;/p>