.abc, .xyz { margin-left: 20px; }
is what you are looking for.
More Related Contents:
- Can I combine :nth-child() or :nth-of-type() with an arbitrary selector?
- Is there a CSS selector for text nodes?
- How do I select the “last child” with a specific class name in CSS? [duplicate]
- How can I write a ‘:hover’ condition for ‘a:before’ and ‘a:after’?
- Can the :not() pseudo-class have multiple arguments?
- How to combine class and ID in CSS selector?
- :first-child not working as expected
- What is the difference between :first-child and :first-of-type?
- Does CSS have a :blur selector (pseudo-class)?
- Specify multiple attribute selectors in CSS
- Should I use single or double colon notation for pseudo-elements?
- How to make Internet Explorer 8 to support nth child() CSS element?
- What does a[href^=”…”] do in CSS?
- Universal selector * and pseudo elements
- Browser support for CSS :first-child and :last-child
- CSS Specificity and Inheritance
- How do I get the nth child of an element using CSS2 selectors?
- Vertically centering content of :before/:after pseudo-elements
- Difference between the selectors div + p (plus) and div ~ p (tilde)
- Are CSS selectors case-sensitive?
- What does .container.\31 25\25 mean in CSS?
- CSS combinator precedence?
- What is caret symbol ^ used for in css when selecting elements?
- Why are my CSS properties being overridden/ignored?
- What is the difference between p:nth-child(2) and p:nth-of-type(2)?
- CSS specificity or inheritance?
- What CSS selector can be used to select the first div within another div
- CSS Selector for not a child of element type?
- :last-child pseudo-class mixed with attribute selector not working
- CSS selector based on width?