:nth-child() 疑似クラス | 実例 CSS プロパティ・セレクタ (7)
:nth-child() 疑似クラス サンプル プログラム コード ページ情報::nth-child(-n+3)兄弟要素のグループの中で最初の3つの要素を表示 します。 [=-0+3, -1+3, -2+3]CSS :nth-child() 疑似クラス Example p:nth-child(-n+3) {background: red;}・・・・
tips | CSS,Style Sheets , HTML , DOM , SQL , XML , jQuery , JavaScript , PHP , Bootstrap , JSON , AJAX , Angular , tag , examples , W3C , source code , colors , tutorials