File tree Expand file tree Collapse file tree
Block Chain Collage Code 2/5 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ * {
2+ margin : 0 ;
3+ padding : 0 ;
4+ box-sizing : border-box;
5+ }
6+
7+ .item {
8+ background-color : rgb (186 , 41 , 41 );
9+ border : 1px solid red;
10+ /* width: 50px;
11+ height: 100px; */
12+ }
13+
14+ .container {
15+ width : 100% ;
16+ display : grid;
17+ height : 600px ;
18+ /* grid-template-columns: 100px 100px 100px 100px 100px 100px; */
19+ /* grid-template-rows: 100px 100px 100px 100px 100px 100px; */
20+ /* grid-template-rows: 100px 100px 100px; */
21+ /* grid-template-columns: 4fr 2fr 2fr; */
22+ /* grid-template-columns: repeat(2, 100px); */
23+ /* grid-template-columns: minmax(400px, 3fr) 1fr; */
24+ /* grid-template-columns: repeat(2,100px);
25+ grid-template-rows: repeat(2,100px);
26+ justify-content: space-between;
27+ align-items: center; */
28+ grid-template-columns : repeat (4 , 100px );
29+ grid-template-rows : repeat (auto-fit, minmax (100px , 1fr ));
30+ }
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < meta
6+ name ="viewport "
7+ content ="width=device-width, initial-scale=1.0 "
8+ />
9+ < link rel ="stylesheet " href ="css/style.css ">
10+ < title > Document</ title >
11+ </ head >
12+ < body >
13+ < section class ="container ">
14+ < div class ="item item-1 "> </ div >
15+ < div class ="item item-2 "> </ div >
16+ < div class ="item item-3 "> </ div >
17+ <!-- <div class="item item-4"></div> -->
18+ </ section >
19+ </ body >
20+ </ html >
You can’t perform that action at this time.
0 commit comments