Predefined CSS counter-styles for Telugu
HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
examples.html
telugu-counter-styles.css

README.md

CSS Counter Styles for Telugu

The CSS Counter Styles Level 3 module defines only numeric style for Telugu. This project aims to collect all counter styles needed for Telugu.

NOTE: As of December 2015, only Firefox supports user-defined @counter-style rules. So, these rules do not (yet) work on other browsers.

Base counter styles

Numeric (telugu)

@counter-style telugu {
  system: numeric;
  symbols: '' '' '' '' '' '' '' '' '' '';
}

NOTE: This rule is specified in the specification. So, major browsers may include it as built-in.

Alphabetic (telugu-alphabetic)

@counter-style telugu-alphabetic {
  system: alphabetic;
  symbols: '' '' '' '' '' '' '' '' '' '' '' '' 'అం' 'అః' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' 'క్ష' '';
}

Extended counter styles

The base counter styles can be exteded to style with right parenthis అ) or surrounded parentheses (అ).

Numeric with right paren (telugu-right-paren)

@counter-style telugu-right-paren {
  system: extends telugu;
  suffix: ") ";
}

Numeric with surrounded parens (telugu-parens-around)

@counter-style telugu-parens-around {
  system: extends telugu;
  prefix: "(";
  suffix: ") ";
}

Alphabetic with right paren (telugu-alphabetic-right-paren)

@counter-style telugu-alphabetic-right-paren {
  system: extends telugu-alphabetic;
  suffix: ") ";
}

Alphabetic with surrounded parens (telugu-alphabetic-parens-around)

@counter-style telugu-alphabetic-parens-around {
  system: extends telugu-alphabetic;
  prefix: "(";
  suffix: ") ";
}