行間の間隔を減らす方法を知りたいですか?私はマージンとパディングを0に設定しようとしましたが、何も噛んだようです。CSSグリッドの行間のスペースを減らす
デスティネーションビューは左側、右側はモバイルビューです。
.content{
margin: 0;
padding: 0;
width: 100%;
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(36, 1fr);
justify-items: stretch;
align-content: start;
}
.one{
grid-column: 1/37;
width: 100%;
}
.two{
grid-column: 1/11;
}
.three{
grid-column: 12/24;
justify-self: center;
align-self: start;
position: relative;
bottom: 5px;
}
.four{
grid-column: 25/37;
}
ここでテストサイトへのリンクです: http://www.acm.no/test/valhall/
ええ、私はそれが問題になるかもしれない考え出したが、私は私がテスト前に尋ねるに周りました。ありがとうございました! :) – mezzie