Selecting the last line of a

element

后端 未结 4 2006
故里飘歌
故里飘歌 2021-02-20 01:29

I am aware of the :first-line selector in CSS, but I cannot find anything that will allow me to select the last line.

The reason I am trying to select the l

4条回答
  •  礼貌的吻别
    2021-02-20 02:22

    You can use only one line and give css : nth-child(3)

    Here (3) denotes the number of a last line

提交回复
热议问题