Unfortunately, there is no way (at least none I know of) to select nth-of-type
of a class, since nth-of-class
doesnt exist. You will probably have to add a new class to every third .module
manually.
More Related Contents:
- 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?
- CSS 3 nth of type restricted to class [duplicate]
- 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?
- What does the “~” (tilde/squiggle/twiddle) CSS selector mean?
- wildcard * in CSS for classes
- CSS Child vs Descendant selectors
- Matching an empty input box using CSS
- not:first-child selector
- What does “i” mean in a CSS attribute selector?
- What does + mean in CSS? [duplicate]
- CSS Selector for nth range?
- Is the :before pseudo-element allowed on an input[type=checkbox]?
- CSS select multiple descendants of another element
- Select all ‘tr’ except the first one
- What are the rules around whitespace in attribute selectors?
- CSS – First child without certain class
- CSS select first element with a certain class
- Correct terms and words for sections and parts of selectors
- What CSS selector can be used to select the first div within another div
- CSS selector based on width?