freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

css基礎(chǔ)知識(shí)(文件)

 

【正文】 元素 div[id][title=“ok”]作用于設(shè)置了 id屬性并且 title屬性值 為 ok的 div元素 空白分隔匹配:匹配其中任意一個(gè)字符即可控制元素樣式 span class=“a b c”/span spn[class~=“a”]{ color:red。 } div [class^=“my”] { color:red。 } 子字符串匹配:只要屬性值中存在指定字符串,就可以應(yīng)用樣式。 P{ fontszie:12px。 } d2 { fontsize:2em。也就是說 body字體大小為 10px,也意味著 1em=10px。 backgroundcolor:999999。 } b {width:400px。 backgroundcolor:999999。fontsize=12px。 以下屬性將不繼承: border margin padding background postion width height 疑惑: divddh1dd/h1/div div {color:red??梢允褂?!important來強(qiáng)制提高樣式的重要性 P{color:red !important。} div{color:yellow。 fontsize:12px。 例如 p span {color:red。} div{color:red} 對(duì)于 span來說相當(dāng)于 span{fontsize:12px。} 字體大小不繼承? 層疊 層疊是指 css能夠?qū)ν辉鼗蛘咄痪W(wǎng)頁(yè)應(yīng)用多個(gè)樣式或者多個(gè)樣式表的能力。 /*url中引號(hào)可以省略 */ /style 繼承 繼承父元素的樣式 p我愛你 span中國(guó) /span/p p {color:red。textindent:50%。} 縮進(jìn)瀏覽器 50% 如果: a {width:400px。} 縮進(jìn)瀏覽器 50% 如果: a {height:200px。例如,如果父元素寬度為 500px,子元素寬度設(shè)置為 50%,則子元素實(shí)際寬度為 250px. 疑問 : div id=a div id=b我愛你中國(guó),我愛你中國(guó) /div /div 如果: a { width:400px。 backgroundcolor:red } div id=d
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1