A今天學(xué)到什么
####1、如何讓內(nèi)聯(lián)、內(nèi)聯(lián)塊標(biāo)簽實(shí)現(xiàn)水平居中給父級(jí)+{text-align:center}/display:block
2、CSS背景
背景顏色:background-color
背景圖片:background-images:url(img/down)
背景重復(fù):background-repeat
背景吸附:background-attachment
背景定位:position
背景圖片大?。篵ackground-size
背景簡寫:background:color image repeat attachment
3、CSS文本
文本對齊方式:text-align:right/left/center
文本修飾:text-decoration:none(去下劃線)
text-indent(文本縮進(jìn))
4、CSS字體
//font-family:{Helvetica,Microsoft YaHei}
font-size
font-weight:normal/bold/lighter
5、邊框
border-width (邊框的寬度)
border-style (邊框的樣式)
border-color (邊框的顏色)
簡寫
border:width style color
p{border:1px solid #333}
6、表格
邊框折疊
border-collapse
table{border-collapse}
//可以在td,th設(shè)置這兩個(gè)屬性
B哪里掌握的好
1、CSS文本
文本對齊方式:text-align:right/left/center
文本修飾:text-decoration:none(去下劃線)
text-indent(文本縮進(jìn))
2、 如何讓內(nèi)聯(lián)、內(nèi)聯(lián)塊標(biāo)簽實(shí)現(xiàn)水平居中給父級(jí)+{text-align: 、center}/display:block
C哪里掌握的不好:
1、邊框
border-width (邊框的寬度)
border-style (邊框的樣式)
border-color (邊框的顏色)
簡寫
border:width style color
p{border:1px solid #333}
2、表格
邊框折疊
border-collapse
table{border-collapse}
//可以在td,th設(shè)置這兩個(gè)屬性
3、CSS字體
//font-family:{Helvetica,Microsoft YaHei}
font-size
font-weight:normal/bold/lighter
4、CSS背景
背景顏色:background-color
背景圖片:background-images:url(img/down)
背景重復(fù):background-repeat
背景吸附:background-attachment
背景定位:position
背景圖片大?。篵ackground-size
背景簡寫:background:color url () repeat attachment
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。