generated at
2/15/2025, 12:09:46 PM
:nth-of-type()
n番目の要素を指定できる
擬似クラス
1始まりなので注意
css
div:nth-of-type(1) { background: yellow; } /* 一番目のdiv要素 */
:nth-child()
似てる