CSS selectors can also be used outside the context of a style sheet.
CSS选择器还可以在样式表上下文之外使用。
If you know the basics of CSS selectors, this syntax should look familiar.
如果您具备CSS选择器的基本知识,那么应该很熟悉这些语法。
These new tags also provide hooks for developers to write more expressive CSS selectors.
这些新标记还向开发人员提供一些挂钩,帮助他们编写表现力更强的css选择器。
CSS selectors are the part of a CSS statement that selects an element to which a style will be applied.
CSS选择器是css语句的一部分,用于选择将应用某种样式的元素。
To demonstrate the use of different CSS selectors, I use in this article the results of a dog show.
为了演示不同CSS选择符的用法,我在本文中使用一次狗展的结果。
With this extra element, you can specify the CSS selectors that address only the elements in this scope.
使用额外的元素,您可以指定仅处理该范围中的元素的css选择器。
Earlier, I mentioned that you can use CSS selectors and syntax to modify the appearance of SVG drawings.
前面提到过您可以使用CSS选择器和语法来修改SVG绘图的外观。
Mobile CSS - Covering everything from CSS selectors (new and old) along with basic and advanced styling techniques.
移动设备上的CSS:这些测试覆盖了全部的CSS选择器以及基本和高级的样式应用技术。
We've specified which CSS selectors belong in which template files as much as possible in the following architecture specifications.
在下面的机构说明中,我们尽量更多地指定哪个CSS选择器是属于哪个模板文件。
It is good preparation to make sure you structure your XHTML so that all the elements you want to style are accessible using CSS selectors.
最好确保XHTML具有良好的结构,使希望应用样式的所有元素都可以通过使用CSS选择器访问到。
With image sprites, you will have CSS selectors for each link that display only a portion of the image Sprite - effectively showing just the image you need.
有了图片精灵,你将要用CSS选择器对每个只显示精灵中部分图片的链接进行处理:只要你需要的那部分。
You can also join multiple selectors into one using commas, just as in CSS.
与在CSS中一样,可以使用逗号将多个选择器连接成一个。
You had three choices: simulate transparency using flat images, deal with PNG's cross-browser incompatibilities, or struggle with CSS 'basic transparency selectors and filters.
你有三种选择:使用平面图像模拟的透明度,使用不能跨浏览器兼容的PNG格式,或者去折腾CSS基本的透明选择器和滤镜。
Depending on your skills and your experience, CSS coding can sometimes become a nightmare, particularly if you aren't sure which selectors are actually being applied to document elements.
CSS完全依赖于你的使用技巧和经验,尤其是当你无法确定哪些样式选择器已经应用到你的文档元素时,CSS编码就会变成一个噩梦。
While you can certainly style an entire tag using CSS, you'll probably find that using class selectors is a better use of CSS and SVG.
尽管使用CSS无疑可以限定整个标签的样式,但您可能会发现,对CSS和SVG使用类选择器会更好。
In the previous section, you also learned that you can use selectors to retrieve elements based on their type or CSS class.
在前面的小节中,您学会了如何使用选择器根据类型或css类检索元素。
The background color, corner radius, and border and thickness styles of "header" and "content" viewers are defined in class selectors of the external CSS file: "example.css" (Listing 19).
“header”和“content”查看器的背景颜色、圆角半径、边框和透明度都在外部css文件example . css的类选择器中定义(见清单19)。
Simply create a new CSS file, place your CSS style selectors in it, and save the file.
只需创建一个新的CSS文件,将css样式选择器放入其内,并保存此文件。
Most of this is the same old presentation you've always been doing: a CSS stylesheet with lots of selectors, rules, and formatting.
这里的工作和刚才对显示的处理差不多:一个具有许多选择符、规则和格式的CSS样式表。
You can refer to Figure 2 to quickly check the CSS syntax for HTML, ID, and class selectors.
可以参考图2,了解HTML、ID和类选择符的css语法。
One possible, weak excuse is that jQuery largely bases its selectors on CSS and that even W3C CSS Level 3 namespace selectors unfortunately haven't made it past working draft stage.
一种可能的、牵强的理由是,jQuery很大程度上以CSS作为其选择器的基础,并且即使是W3C CSSLevel3名称空间选择器也无法使它通过工作草案阶段。
Firefinder is for quickly finding web page elements that match CSS or Xpath selectors that you input as your search criteria.
Firefinder是按照您输入搜索标准快速查找网页内容中相匹配的CSS或XPath选择符。
Always, always keep your CSS clean and organized. I prefer organizing my selectors by style groups.
经常的,要保持CSS的整洁度和有序性。我喜欢将选择符按照样式的类别进行组织划分。
Sizzle is fast. Only use selectors and CSS, no wacky animations.
嘶嘶声快。只使用选择器和CSS,没有古怪的动画。
Only use selectors and CSS, no wacky animations.
只使用选择器和CSS,没有古怪的动画。
The CSS selector or an array of selectors to try. The first selector that is found is returned.
CSS选择器或是一组选择器去尝试。被发现的第一个选择器被返回。
The CSS selector or an array of selectors to try. The first selector that is found is returned.
CSS选择器或是一组选择器去尝试。被发现的第一个选择器被返回。
应用推荐