Unfortunately, there isn’t any way (at least none I know of) to select nth-of-type
of a class, since nth-of-class
doesn’t exist. You will probably have to add a new class to every third .module
manually.
More Related Contents:
- css3 nth of type restricted to class [duplicate]
- Why isn’t it possible to combine vendor-specific pseudo-elements/classes into one rule set?
- How can I write a ‘:hover’ condition for ‘a:before’ and ‘a:after’?
- What is the difference between a pseudo-class and a pseudo-element in CSS?
- Does CSS have a :blur selector (pseudo-class)?
- What is the difference between :focus and :active?
- How to select the first, second, or third element with a given class name?
- Should I use CSS :disabled pseudo-class or [disabled] attribute selector or is it a matter of opinion?
- What’s the difference between html[lang=”en”] and html:lang(en) in CSS?
- What’s the difference between CSS3’s :root pseudo class and html?
- Why doesn’t this CSS :not() declaration filter down?
- How to show the first N elements of a block and hide the others in css?
- Is there an opposite CSS pseudo-class to :hover?
- Is there a CSS selector for elements containing certain text?
- What does the “~” (tilde/squiggle/twiddle) CSS selector mean?
- ::slotted CSS selector for nested children in shadowDOM slot
- Select elements by attribute in CSS
- Nesting CSS classes
- CSS attribute selectors: The rules on quotes (“, ‘ or none?)
- Is the CSS :not() selector supposed to work with distant descendants?
- What is the difference between ‘>’ and a space in CSS selectors?
- Combining :last-child with :not(.class) selector in CSS
- What is this CSS selector? [class*=”span”]
- Is there any pros and cons if i use always CSS Class instead CSS ID for everything?
- Is there such a thing as an “all inclusive sibling” CSS selector?
- CSS selector involving pseudo class first-child and dropcap
- CSS select multiple descendants of another element
- Select all ‘tr’ except the first one
- Correct terms and words for sections and parts of selectors
- CSS selector based on width?