📜  css 选择最后一个字符 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:32.993000             🧑  作者: Mango

代码示例1
:first-child        :first-of-type        :only-child
:last-child         :last-of-type         :only-of-type                  
:nth-child          :nth-of-type    
:nth-last-child     :nth-last-of-type

::first-letter      ::first-line          ::first-word
::last-letter       ::last-line           ::last-word
::nth-letter        ::nth-line            ::nth-word
::nth-last-letter   ::nth-last-line       ::nth-last-word