From d8a622a294b8a39c6a48eb512fa5d7917cb692ce Mon Sep 17 00:00:00 2001 From: 30secondsofcode <30secondsofcode@gmail.com> Date: Wed, 21 Nov 2018 20:52:46 +0000 Subject: [PATCH] Travis build: 66 [cron] --- docs/index.html | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 3875fc791..162e2d22d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -109,7 +109,7 @@ li::before { counter-increment: counter; content: counters(counter, '.') ' '; } -

Demo

Explanation

You can create a ordered list using any type of HTML.

  1. counter-reset Initializes a counter, the value is the name of the counter. By default, the counter starts in 0. This property can also be used to change its value to any specific number.

  2. counter-increment Used in element that will be countable. Once counter-reset initialized, a counter's value can be increased or decreased.

  3. counter(name, style) Displays the value of a section counter. Generally used in a content property. This function can receive two parameters, the first as the name of the counter and the second one can be decimal or upper-roman (decimal by default).

  4. counters(counter, string, style) Displays the value of a section counter. Generally used in a content property. This function can receive three parameters, the first as the name of the counter, the second one you can include a string which comes after the counter and the third one can be decimal or upper-roman (decimal by default).

  5. A CSS counter can be especially useful for making outlined lists, because a new instance of the counter is automatically created in child elements. Using the counters() function, separating text can be inserted between different levels of nested counters.

Browser support

98.4%

✅ No caveats.

Custom scrollbarvisual

Customizes the scrollbar style for the document and elements with scrollable overflow, on WebKit platforms.

HTML

<div class="custom-scrollbar">
+

Demo

Explanation

You can create a ordered list using any type of HTML.

  1. counter-reset Initializes a counter, the value is the name of the counter. By default, the counter starts at 0. This property can also be used to change its value to any specific number.

  2. counter-increment Used in element that will be countable. Once counter-reset initialized, a counter's value can be increased or decreased.

  3. counter(name, style) Displays the value of a section counter. Generally used in a content property. This function can receive two parameters, the first as the name of the counter and the second one can be decimal or upper-roman (decimal by default).

  4. counters(counter, string, style) Displays the value of a section counter. Generally used in a content property. This function can receive three parameters, the first as the name of the counter, the second one you can include a string which comes after the counter and the third one can be decimal or upper-roman (decimal by default).

  5. A CSS counter can be especially useful for making outlined lists, because a new instance of the counter is automatically created in child elements. Using the counters() function, separating text can be inserted between different levels of nested counters.

Browser support

98.4%

✅ No caveats.

Custom scrollbarvisual

Customizes the scrollbar style for the document and elements with scrollable overflow, on WebKit platforms.

HTML

<div class="custom-scrollbar">
   <p>
     Lorem ipsum dolor sit amet consectetur adipisicing elit.<br>
     Iure id exercitationem nulla qui repellat laborum vitae, <br>
diff --git a/index.html b/index.html
index f6032be0c..c8f37828d 100644
--- a/index.html
+++ b/index.html
@@ -559,7 +559,7 @@ li::before {
             

You can create a ordered list using any type of HTML.

  1. -

    counter-reset Initializes a counter, the value is the name of the counter. By default, the counter starts in 0. This property can also be used to change its value to any specific number.

    +

    counter-reset Initializes a counter, the value is the name of the counter. By default, the counter starts at 0. This property can also be used to change its value to any specific number.

  2. counter-increment Used in element that will be countable. Once counter-reset initialized, a counter's value can be increased or decreased.