first-letter và first-line

0
0
(0)

  first-letter và first-line

   

Ví dụ:



first-letter:

<style type="text/css">

p:first-letter 

{

color: red;

}

</style>

<p> Abc</p>

kết quả: 
Abc



first-line:

<style type="text/css">

p:first-line 

{

color: red;

}

</style>

<p>Dùng để dịnh dạng ký tự đầu tiên(first-letter) 

hoặc dòng đầu tiên(first-line) cho phần content của đối tượng</p>

Theo php

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Leave A Reply

Your email address will not be published.