久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

為什么在css中使用空格分隔事物

Why are spaces used to separate things in css(為什么在css中使用空格分隔事物)
本文介紹了為什么在css中使用空格分隔事物的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

這是我不理解的 wordpress 樣式表中的一些內(nèi)容:

Here is something in a wordpress stylesheet that I don't understand:

blockquote cite,
blockquote em,
blockquote i {
font-style: normal;
}

blockquote 和 cite 之間的空格有什么作用?我知道如果它們用逗號分隔,那么 blockquote 和 cite 都會有 "font-style: normal;"現(xiàn)在它們用空格分隔,這是否意味著如果將塊引用標(biāo)簽嵌入到引用標(biāo)簽中,它將得到font-style: normal;"?

what does the space between blockquote and cite do? I understand if they are separated by a comma, then both blockquote and cite will have "font-style: normal;" now they are separated by space, does this mean if a blockquote tag is embedded into a cite tag it will get "font-style: normal;"?

謝謝.

推薦答案

空間被稱為 后代組合器.blockquote cite 選擇 blockquote 元素內(nèi)的任何 cite 元素.blockquote emblockquote i 也是如此.

The space is known as the descendant combinator. blockquote cite selects any cite element within a blockquote element. Likewise for blockquote em and blockquote i.

換句話說,這不是如果將塊引用標(biāo)簽嵌入到引用標(biāo)簽中",而是相反(此外,您不能將 blockquotes 放在 cites 放在首位).

In other words, it's not "if a blockquote tag is embedded into a cite tag", it's the other way around (besides, you can't place blockquotes in cites in the first place).

如您所見,逗號將選擇器序列分組到同一規(guī)則中.

As you note, commas group selector sequences into the same rule.

這篇關(guān)于為什么在css中使用空格分隔事物的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Style every third element?(每隔三個元素設(shè)置樣式?)
Why shouldn#39;t I use ID selectors in CSS?(為什么我不應(yīng)該在 CSS 中使用 ID 選擇器?)
What does img[class*=quot;alignquot;] mean in CSS?(CSS 中的 img[class*=“align] 是什么意思?)
CSS: Last element on line(CSS:最后一個元素)
How do I select every other div class element using just CSS (no js)(如何僅使用 CSS(無 js)選擇所有其他 div 類元素)
Tool for checking unused CSS selectors?(檢查未使用的 CSS 選擇器的工具?)
主站蜘蛛池模板: 99精品免费视频 | 久久久久久91香蕉国产 | 亚洲成人精品在线观看 | 福利一区二区 | 成人性视频免费网站 | 国产日产欧产精品精品推荐蛮挑 | 狠狠爱综合 | 中文一区 | 99re在线视频 | 国产在线a | 色综合区 | 精品国产一区二区三区久久久四川 | 国产亚韩 | 欧美在线一区二区三区 | 一区二区三区精品视频 | 黄色av网站在线免费观看 | 欧美日韩国产精品一区二区 | 韩日精品一区 | 免费午夜电影 | 亚洲高清免费视频 | 亚洲精品久久视频 | 99热在线观看精品 | 精品国产一级 | 孕妇一级毛片 | а√中文在线8 | 国产精品久久久久久久久婷婷 | 国产性网 | 亚洲国产精品视频一区 | 一区二区三区日本 | 中文字幕一区在线观看视频 | 亚洲精品99999 | 亚洲视频免费在线播放 | 精品国产乱码久久久久久丨区2区 | 九九成人 | 亚洲精品高清视频在线观看 | 国产精品毛片无码 | 激情小说综合网 | 成人在线一区二区 | 亚洲欧美在线一区 | 黄视频国产 | 超碰在线播 |