nth-childを使用して不均一な列の繰り返しパターンを作成することはできますか?これは私が持っているものですが、それは最初の行だけの作品:nth-child付きCSSグリッド
.three-cols > div:nth-child(1n) {
width: 50%;
}
.three-cols > div:nth-child(2n) {
width: 25%;
}
.three-cols > div:nth-child(3n) {
width: 25%;
}
.three-cols > div:nth-child(3n) {
margin-right: 0;
}
だから私は、すべての行分割をしたい:50%、25%、25%
http://codepen.io/garethj/pen/KNpQYd
説明ありがとうございます – user2882335