Method: Sass::Script::Functions#counter
- Defined in:
- lib/sass/script/functions.rb
#counter($args...) ⇒ Sass::Script::Value::String
This function only exists as a workaround for IE7's content:
counter bug.
It works identically to any other plain-CSS function, except it
avoids adding spaces between the argument commas.
2452 2453 2454 |
# File 'lib/sass/script/functions.rb', line 2452
def counter(*args)
identifier("counter(#{args.map {|a| a.to_s(options)}.join(',')})")
end
|