Blogs

counter()

css-tricks.com

The counter() function takes the number (or symbol) of a list item and makes it available to display outside the list. In other words, it makes things that aren't lists look like lists. For example, we can take the current list number of an existing list counter, format it as a Roman numeral, then display it in front of a heading:

Visit Site

Blogs css-tricks.com

counter()
Blogsfont-variant-emojicss-tricks.com Blogsappearancecss-tricks.com BlogsEmbrace your code’s transiencecss-tricks.com Blogs@functioncss-tricks.com BlogsQuick Hit #67css-tricks.com Blogssymbols()css-tricks.com ResourcesUpstash Redissupabase.com Blogscounter-incrementcss-tricks.com Products & ServicesCSS Counters for Custom List Stylingcss-tricks.com NewsSenators introduce bill to counter bad cybersecurity practices in credit reporting industrycyberscoop.com NewsRussian anti-virus company Kaspersky Lab files for injunction in U.S. court, seeking to countercyberscoop.com NewsNew global cybersecurity center announced at Davoscyberscoop.com NewsDive Deposits: Affirm’s AI stance runs counter to trendbankingdive.com NewsWhite House defends NSA, thanks Microsoft, Facebook for countering North Korean hackerscyberscoop.com NewsEmail marketers call for stricter FTC rules on spamcyberscoop.com NewsLooking for an edge, cybersecurity firms spend big on quantum computingcyberscoop.com NewsCyber-defenders urged to use counter-insurgency playbookcyberscoop.com NewsTaking a page for cybersecurity from the counter-terror playbookcyberscoop.com NewsPutin's government warns Russian critical infrastructure of potential cyberattackscyberscoop.com NewsGlobal counter-ransomware task force to become active in Januarycyberscoop.com