Method: Jig::CSS#nth_of_type
- Defined in:
- lib/jig/css.rb
#nth_of_type(a = 0, b = 0) ⇒ Object
Construct a nth-of-type pseudo class.
192 193 194 |
# File 'lib/jig/css.rb', line 192 def nth_of_type(a=0,b=0) before(:__s, ":nth-of-type(#{a}n+#{b})") end |