:nth-last-child() 疑似クラス | 実例 DEMO CSS プロパティ・セレクタ (9) | 書き方
:nth-last-child() 疑似クラス サンプル プログラム コード ページ
- 情報:この例は
p:nth-last-child(n+3):nth-last-child(-n+8)兄弟要素のグループの中で最後から数えて3~8番目の <p> 要素を選択することができる。
:nth-last-child() 疑似クラスサンプル 実行 結果

tips | CSS,Style Sheets , HTML , DOM , SQL , XML , jQuery , JavaScript , PHP , Bootstrap , JSON , AJAX , Angular , tag , examples , W3C , source code , colors , tutorials
p:nth-last-child(n+3):nth-last-child(-n+8)兄弟要素のグループの中で最後から数えて3~8番目の <p> 要素を選択することができる。
:nth-last-child() 疑似クラスサンプル 実行 結果
