News

Mittwoch, 2. November 2011 | News

Videotutorial: Ein Counter mit CSS implemetieren

(Link zum Artikel: http://www.it-republik.de/php/news/060927)
  • Teilen
  • kommentieren
  • empfehlen
  • Bookmark and Share

Jeffrey Way hat auf nettuts+ ein tolles Tutorial publiziert, das darauf eingeht, wie man mit der CSS-Eigenschaft counter-increment einen Zähler realisiert.

The counter-increment property can accept either one or two properties. The first is an id that you will later use to reference this specific counter. You may also pass a second parameter that refers to the increment. For example, instead of 1, 2, 3, 4, you could switch to 5, 10, 15, 20 by applying: counter-increment: boxes 5.

Das Video zeigt wie es geht:

(mj)

Anzeige

Kommentare

zurück zum Seitenanfang