濮阳杆衣贸易有限公司

主頁(yè) > 知識(shí)庫(kù) > HTML使用柵格布局實(shí)現(xiàn)六種篩子樣式的代碼詳解

HTML使用柵格布局實(shí)現(xiàn)六種篩子樣式的代碼詳解

熱門標(biāo)簽:電話機(jī)器人批發(fā) 愛(ài)巢地圖標(biāo)注 電銷外呼線路改不外呼線路 貴陽(yáng)ai外呼系統(tǒng) crm外呼系統(tǒng)好不好 強(qiáng)訊外呼系統(tǒng) 重慶人工智能電銷機(jī)器人報(bào)價(jià) 智能電銷機(jī)器人廣告語(yǔ) 長(zhǎng)春極信防封電銷卡公司

先上效果圖下面附上代碼


<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.big {
				width: 100px;
				height: 100px;
				background: skyblue;
				display: flex;
				margin-top: 20px;
			} 
			.small {
				width: 10px;
				height: 10px;
				background: purple;
				border-radius: 5px;
			}
			
			.one {
				display: flex;
				justify-content: center;
				/*交叉軸*/
				align-items: center;
			}
			
			.two {
				display: flex;
				justify-content: space-around;
				align-items: center;
			}
			
			.two2 {
				display: flex;
				flex-direction: column;
				justify-content: space-around;
				align-items: center;
			}
			
			.three {
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				align-items: center;
			}
			
			.four {
				display: flex;
				justify-content: space-around;
			}
			
			.four1 {
				display: flex;
				justify-content: space-around;
				align-items: center;
			}
			
			.four2 {
				display: flex;
				flex-direction: column;
				justify-content: space-around;
				align-items: center;
			}
			
			.five {
				display: flex;
				justify-content: space-around;
			}
			
			.five1 {
				display: flex;
				flex-direction: column;
				justify-content: space-around;
				align-items: center;
			}
			
			.five2 {
				display: flex;
				flex-direction: row;
				align-self: center;
			}
			
			.six {
				display: flex;
				justify-content: space-around;
			}
			
			.six1 {
				display: flex;
				flex-direction: column;
				justify-content: space-around;
				align-items: center;
			}
		</style>
	</head>

	<body>
		<div class="big one">
			<div class="small"></div>
		</div>
		<div class="big two">
			<div class="small"></div>
			<div class="small"></div>
		</div>
		<div class="big two2">
			<div class="small"></div>
			<div class="small"></div>
		</div>
		<div class="big three">
			<div class="small" style="align-self: flex-start;"></div>
			<div class="small" style="align-self: center;"></div>
			<div class="small" style="align-self: flex-end;"></div>
		</div>
		<div class="big three">
			<div class="small" style="align-self: flex-end;"></div>
			<div class="small" style="align-self: center;"></div>
			<div class="small" style="align-self: flex-start;"></div>
		</div>
		<div class="big four">
			<div class="four2">

				<div class="small"></div>
				<div class="small"></div>
			</div>
			<div class="four2">

				<div class="small"></div>
				<div class="small"></div>
			</div>
		</div>
		<div class="big five">
			<div class="five1">

				<div class="small"></div>
				<div class="small"></div>
			</div>
			<div class="five2">

				<div class="small"></div>
			</div>
			<div class="five1">

				<div class="small"></div>
				<div class="small"></div>
			</div>
		</div>

		<div class="big six">
			<div class="six1">
				<div class="small"></div>
				<div class="small"></div>
				<div class="small"></div>
			</div>
			<div class="six1">
				<div class="small"></div>
				<div class="small"></div>
				<div class="small"></div>
			</div>
		</div>
		<div class="big six">
			<div class="six1">
				<div class="small"></div> 
				<div class="small"></div>
			</div>
			<div class="six1">
				<div class="small"></div>
				<div class="small"></div> 
			</div>
			<div class="six1">
				<div class="small"></div>
				<div class="small"></div> 
			</div>
		</div>
	</body>

</html>

總結(jié)

到此這篇關(guān)于HTML使用柵格布局實(shí)現(xiàn)六種篩子的樣式的代碼詳解的文章就介紹到這了,更多相關(guān)html 柵格布局 內(nèi)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持腳本之家!

標(biāo)簽:吳忠 山南 內(nèi)蒙古 上海 廣安 陜西 清遠(yuǎn) 保定

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《HTML使用柵格布局實(shí)現(xiàn)六種篩子樣式的代碼詳解》,本文關(guān)鍵詞  HTML,使用,柵格,布局,實(shí)現(xiàn),;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《HTML使用柵格布局實(shí)現(xiàn)六種篩子樣式的代碼詳解》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于HTML使用柵格布局實(shí)現(xiàn)六種篩子樣式的代碼詳解的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    汽车| 乐至县| 东莞市| 基隆市| 红桥区| 博爱县| 胶南市| 固始县| 内黄县| 惠来县| 隆回县| 朝阳县| 宁南县| 通山县| 五常市| 周至县| 富裕县| 上蔡县| 久治县| 万全县| 和林格尔县| 伊宁市| 绩溪县| 都匀市| 泸州市| 旬邑县| 金平| 怀来县| 深州市| 留坝县| 都江堰市| 万全县| 科技| 施甸县| 恩平市| 兴和县| 噶尔县| 巴东县| 元江| 十堰市| 黄平县|