<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aniket Kudale</title>
    <description>The latest articles on DEV Community by Aniket Kudale (@aniketkudale).</description>
    <link>https://dev.to/aniketkudale</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F347972%2Fc1665279-ebbe-4f7e-99c0-1ff3bdb7d446.jpeg</url>
      <title>DEV Community: Aniket Kudale</title>
      <link>https://dev.to/aniketkudale</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aniketkudale"/>
    <language>en</language>
    <item>
      <title>ColorRand - Dark Neumorphic Color Palette Generator</title>
      <dc:creator>Aniket Kudale</dc:creator>
      <pubDate>Sat, 11 Apr 2020 06:50:16 +0000</pubDate>
      <link>https://dev.to/aniketkudale/colorrand-dark-neumorphic-color-palette-generator-4534</link>
      <guid>https://dev.to/aniketkudale/colorrand-dark-neumorphic-color-palette-generator-4534</guid>
      <description>&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/aniketkudale/embed/ZEbYObP?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>codepen</category>
      <category>css</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Neumorphic Color Palette (With Sound)</title>
      <dc:creator>Aniket Kudale</dc:creator>
      <pubDate>Tue, 17 Mar 2020 16:52:14 +0000</pubDate>
      <link>https://dev.to/aniketkudale/neumorphic-color-palette-with-sound-13bp</link>
      <guid>https://dev.to/aniketkudale/neumorphic-color-palette-with-sound-13bp</guid>
      <description>&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/aniketkudale/embed/BaNxomQ?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>codepen</category>
    </item>
    <item>
      <title>Understanding CSS Counters</title>
      <dc:creator>Aniket Kudale</dc:creator>
      <pubDate>Mon, 09 Mar 2020 08:05:17 +0000</pubDate>
      <link>https://dev.to/aniketkudale/understanding-css-counters-3fd0</link>
      <guid>https://dev.to/aniketkudale/understanding-css-counters-3fd0</guid>
      <description>&lt;p&gt;CSS Counters are basically variables whose values can be used to number the content based on its placement in the web document. Generally in HTML, &lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt; tag is used to give ordered numbers to the items of the list, but CSS counter allows us to do the same thing but in a different way. For example, you can use CSS counter to automatically number the headings or section in a web page. The values of the CSS counters can be incremented by CSS rules, which helps in tracking how many times the rules are used.&lt;/p&gt;

&lt;p&gt;CSS counters uses the following properties:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;counter-reset&lt;/strong&gt;— Creates or resets a CSS counter. To use a counter, it must be first initialized to a value with this property. This value is 0 by default. Same property can be used to changes its value to any specific number.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;counter-value&lt;/strong&gt; — Once initialized, a counter’s value can be increased with this property.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;content&lt;/strong&gt; — Inserts generated content.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;counter()&lt;/strong&gt; or &lt;strong&gt;counters()&lt;/strong&gt; function — Adds value of the counter to the element. The value of the counter can be displayed using either the counter() or counters() function in content property.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;strong&gt;counter()&lt;/strong&gt; function has two forms: ‘counter(name)’ or ‘counter(name, style)’. The generated text is the value of the innermost counter of the given name in scope at the given pseudo-element. It is formatted in the specified style given as parameter to counter() function (decimal by default).&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;counters()&lt;/strong&gt; function also has two forms: ‘counters(name, string)’ or ‘counters(name, string, style)’. The generated text is the value of all counters with the given name in scope at the given pseudo-element, from outermost to innermost, separated by the specified string. The counters are rendered in the indicated style given as parameter to counter() function (decimal by default).&lt;/p&gt;

&lt;p&gt;To use a CSS counter, it must be created with counter-reset. The counter’s name cannot be “none”, “inherit” or “initial”. If it is so, it will be ignored.&lt;/p&gt;

&lt;p&gt;Let’s check an example:&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Basic Counters&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The following example creates a counter for entire page (since we have created a counter for chapter in body selector), then we increment the counter value for each &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; element and text “Chapter  — “ to the beginning of each &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; element.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XN7FCwCS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/7808/1%2Ai7LE3ZsTkirqAX-0KjLyjg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XN7FCwCS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/7808/1%2Ai7LE3ZsTkirqAX-0KjLyjg.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ytV4YQaM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/2888/1%2AHQ1oNvtPS7DPScYpLoFc9g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ytV4YQaM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/2888/1%2AHQ1oNvtPS7DPScYpLoFc9g.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--P2Pepqjj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/2000/1%2AvaXq7wK0qzeRY7USuVX4uw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--P2Pepqjj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/2000/1%2AvaXq7wK0qzeRY7USuVX4uw.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
  &lt;span&gt;See the Pen &lt;a href="https://codepen.io/aneeket/pen/PoqOWJa"&gt;
  Basic Counters&lt;/a&gt; by Aniket Kudale (&lt;a href="https://codepen.io/aneeket"&gt;@aneeket&lt;/a&gt;)
  on &lt;a href="https://codepen.io"&gt;CodePen&lt;/a&gt;.&lt;/span&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Nested Counters&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The following example creates one counter for the page (chapter) and one counter for each &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; element (section) The “chapter” counter will be counted for each &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; element with “Section .”, and the “section” counter will be counted for each &lt;code&gt;&amp;lt;h3&amp;gt;&lt;/code&gt; element with “.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tVtWpjUd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/4776/1%2APYlunTZXIcuqNf6klWQtMA.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tVtWpjUd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/4776/1%2APYlunTZXIcuqNf6klWQtMA.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HTML&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lQB3BYil--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/3288/1%2AJ-3-pL61oAceDThJGBsFQw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lQB3BYil--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/3288/1%2AJ-3-pL61oAceDThJGBsFQw.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--i5eJ7gWY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/2000/1%2AzZGfpnXTCmfl9727id1ijQ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i5eJ7gWY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/2000/1%2AzZGfpnXTCmfl9727id1ijQ.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
  &lt;span&gt;See the Pen &lt;a href="https://codepen.io/aneeket/pen/mdJqRMX"&gt;
  Nested Counters&lt;/a&gt; by Aniket Kudale (&lt;a href="https://codepen.io/aneeket"&gt;@aneeket&lt;/a&gt;)
  on &lt;a href="https://codepen.io"&gt;CodePen&lt;/a&gt;.&lt;/span&gt;
&lt;/p&gt;

&lt;p&gt;CSS Counter are supported almost by all modern browsers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://caniuse.com/#search=counters"&gt;https://caniuse.com/#search=counters&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope you liked this refresher on CSS Counters.&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
