Top "Css-selectors" questions

Selectors are patterns that match against elements in a document tree.

Is there a CSS selector for text nodes?

What I would like to do (not in IE obviously) is: p:not(.list):last-child + :text { margin-bottom: 10px; } Which would …

css css-selectors
Angular 2: How to style host element of the component?

I have component in Angular 2 called my-comp: <my-comp></my-comp> How does one style the host element …

css angular css-selectors angular-components
css selector to match an element without attribute x

I'm working on a CSS file and find the need to style text input boxes, however, I'm running into problems. …

css-selectors css
jQuery vs document.querySelectorAll

I heard several times that jQuery's strongest asset is the way it queries and manipulates elements in the DOM: you …

javascript jquery html css-selectors jquery-selectors
How to select an element with 2 classes

Possible Duplicate: CSS Selector that applies to elements with two classes i have this elements <div class="a b"&…

css css-selectors
CSS Input Type Selectors - Possible to have an "or" or "not" syntax?

If they exist in programming), If I have an HTML form with the following inputs: <input type="text" /> &…

html css css-selectors
jQuery or CSS selector to select all IDs that start with some string

How can I select all elements whose id starts with "player_"? I have multiple elements like this: <div id="…

jquery css jquery-selectors css-selectors
CSS Selector for <input type="?"

Is there any way with CSS to target all inputs based on their type? I have a disabled class I …

css internet-explorer css-selectors
How to select all elements with a particular ID in jQuery?

I'm trying to select all <div>s with the same ID in jQuery. How do i do it? …

jquery css-selectors
Can I target all <H> tags with a single selector?

I'd like to target all h tags on a page. I know you can do it this way... h1, h2, …

css css-selectors