标签:pac 使用 strong 表格 car name get table 指定
此篇為之前筆記的總結練習
練習的 html 內容已經預訂好,在 body 內的內容如下所示
1 | <div class="container"> |
以下題目會大致說明其中文的意思,並不是翻譯,請諒解。
這兩題因為都在 .container class 中,所以就一起進行
製作一個 10 欄表格,其每隔一個就是使用兩倍的空間
使表格有明確的 10 行,其高為 50 px
1 | .container { |
針對 item1 由欄位 3 開始跨越到 欄位 5
1 | /* With Item 1, start at col 3 and go until 5 */ |
由欄位 5 開始,填滿整行
1 | /* With Item 2, start at col 5 and go until the end */ |
跨越 2 欄與 2 行
1 | /* Make Item 5 double span 2 cols and rows */ |
就是跨越 2 行
1 | /* Make Item 8 two rows high */ |
使其跨越所有欄位,等於整行
1 | /* Make Item 15 span the entire grid width */ |
指定跨越 4 欄,但是指定結束在欄位 9
1 | /* Make item 18 span 4 widths, but end 9 */ |
由行 4 開始跨越 3 行
1 | /* Make item 20 start at row 4 and go for 3 */ |
CSS Grid 筆記 11-Spanning and Placing Cardio
标签:pac 使用 strong 表格 car name get table 指定
原文地址:https://www.cnblogs.com/sanxiandoupi/p/11692262.html