<?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: Arc Coder | Harsh Patel</title>
    <description>The latest articles on DEV Community by Arc Coder | Harsh Patel (@arc__coder).</description>
    <link>https://dev.to/arc__coder</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%2F503696%2F46e538a5-0ee5-45a1-a163-706f2a85306c.jpg</url>
      <title>DEV Community: Arc Coder | Harsh Patel</title>
      <link>https://dev.to/arc__coder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arc__coder"/>
    <language>en</language>
    <item>
      <title>Custom Animated CSS Switch</title>
      <dc:creator>Arc Coder | Harsh Patel</dc:creator>
      <pubDate>Tue, 24 Nov 2020 14:15:22 +0000</pubDate>
      <link>https://dev.to/arc__coder/custom-animated-css-switch-2dna</link>
      <guid>https://dev.to/arc__coder/custom-animated-css-switch-2dna</guid>
      <description>&lt;p&gt;Please check out my &lt;a href="https://www.youtube.com/channel/UC5fLpNYfnyHYX7rvm1LYEyQ"&gt;YouTube Channel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Today we are going to learn how to make a custom &lt;strong&gt;switch/checkbox&lt;/strong&gt; made by using HTML and CSS only.&lt;/p&gt;




&lt;h1&gt;
  
  
  &lt;strong&gt;CodePen&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/arc-coder/embed/dypbyWb?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




&lt;h1&gt;
  
  
  &lt;strong&gt;HTML Code&lt;/strong&gt;
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;meta charset="UTF-8" /&amp;gt;
        &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&amp;gt;
        &amp;lt;link rel="stylesheet" href="index.css" /&amp;gt;
        &amp;lt;title&amp;gt;Custom Animated CSS Switch&amp;lt;/title&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;div class="center"&amp;gt;
            &amp;lt;input type="checkbox" name="" id="" /&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h1&gt;
  
  
  &lt;strong&gt;CSS Code&lt;/strong&gt;
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;body {
    margin: 0;
    padding: 0;
    background: #f3f3f3;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="checkbox"] {
    position: relative;
    width: 80px;
    height: 40px;
    -webkit-appearance: none;
    background: #c6c6c6;
    outline: none;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    transition: background 300ms linear;
}

input:checked[type="checkbox"] {
    background: #03a9f4;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    top: 0;
    left: 0;
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: left 300ms linear;
}

input:checked[type="checkbox"]::before {
    left: 40px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>css</category>
      <category>html</category>
      <category>switch</category>
      <category>animated</category>
    </item>
    <item>
      <title>Real-time JavaScript Clock</title>
      <dc:creator>Arc Coder | Harsh Patel</dc:creator>
      <pubDate>Wed, 18 Nov 2020 04:13:08 +0000</pubDate>
      <link>https://dev.to/arc__coder/real-time-javascript-clock-2dn0</link>
      <guid>https://dev.to/arc__coder/real-time-javascript-clock-2dn0</guid>
      <description>&lt;p&gt;Please checkout my &lt;a href="https://www.youtube.com/channel/UC5fLpNYfnyHYX7rvm1LYEyQ" rel="noopener noreferrer"&gt;YouTube Channel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Today we are going to learn how to make a real-time clock by using vanilla JavaScript and CSS only.&lt;/p&gt;




&lt;h1&gt;
  
  
  &lt;strong&gt;Final Output&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0zo25oaujy71k6nfpvtc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0zo25oaujy71k6nfpvtc.png" alt="Final Output"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  &lt;strong&gt;CodePen&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/arc-coder/embed/wvWOLJR?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




&lt;h1&gt;
  
  
  &lt;strong&gt;HTML Code&lt;/strong&gt;
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;meta charset="UTF-8" /&amp;gt;
        &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&amp;gt;
        &amp;lt;link rel="stylesheet" href="index.css" /&amp;gt;
        &amp;lt;title&amp;gt;Clock UI Design&amp;lt;/title&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;div id="clock"&amp;gt;
            &amp;lt;h2&amp;gt;Time is&amp;lt;/h2&amp;gt;
            &amp;lt;div id="time"&amp;gt;
                &amp;lt;div&amp;gt;
                    &amp;lt;span id="hours"&amp;gt;00&amp;lt;/span&amp;gt;
                    &amp;lt;span&amp;gt;Hours&amp;lt;/span&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;div&amp;gt;
                    &amp;lt;span id="minutes"&amp;gt;00&amp;lt;/span&amp;gt;
                    &amp;lt;span&amp;gt;Minutes&amp;lt;/span&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;div&amp;gt;
                    &amp;lt;span id="seconds"&amp;gt;00&amp;lt;/span&amp;gt;
                    &amp;lt;span&amp;gt;Seconds&amp;lt;/span&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;div&amp;gt;
                    &amp;lt;span id="phase"&amp;gt;AM&amp;lt;/span&amp;gt;
                &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;script src="./index.js"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h1&gt;
  
  
  &lt;strong&gt;CSS Code&lt;/strong&gt;
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&amp;amp;display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #060a1f;
}

#clock h2 {
    position: relative;
    display: block;
    color: #fff;
    text-align: center;
    margin: 10px 0;
    font-weight: 700;
    text-transform: 0.4em;
    font-size: 2em;
}

#clock #time {
    display: flex;
}

#clock #time div {
    position: relative;
    margin: 0 5px;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0004);
}

#clock #time div span {
    position: relative;
    display: block;
    width: 100px;
    height: 80px;
    background: #2196f3;
    color: #fff;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    z-index: 10;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

#clock #time div span:nth-child(2) {
    height: 30px;
    font-size: 0.7em;
    letter-spacing: 0.2em;
    font-weight: 500;
    z-index: 9;
    box-shadow: none;
    background: #127fd6;
    text-transform: uppercase;
}

#clock #time div:nth-last-child(2) span {
    background: #ff006a;
}

#clock #time div:nth-last-child(2) span:nth-child(2) {
    background: #ec0062;
}

#clock #time div:nth-last-child(1) span {
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 40px;
    font-size: 1.5em;
    background: #fff;
    color: #000;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0004);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h1&gt;
  
  
  &lt;strong&gt;JS Code&lt;/strong&gt;
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function clock() {
    var hours = document.getElementById("hours");
    var minutes = document.getElementById("minutes");
    var seconds = document.getElementById("seconds");
    var phase = document.getElementById("phase");

    var h = new Date().getHours();
    var m = new Date().getMinutes();
    var s = new Date().getSeconds();
    var am = "AM";

    if (h &amp;gt; 12) {
        h = h - 12;
        var am = "PM";
    }

    h = h &amp;lt; 10 ? "0" + h : h;
    m = m &amp;lt; 10 ? "0" + m : m;
    s = s &amp;lt; 10 ? "0" + s : s;

    hours.innerHTML = h;
    minutes.innerHTML = m;
    seconds.innerHTML = s;
    phase.innerHTML = am;
}

var interval = setInterval(clock, 1000);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>clock</category>
      <category>css</category>
      <category>html</category>
    </item>
    <item>
      <title>3D Card Effect</title>
      <dc:creator>Arc Coder | Harsh Patel</dc:creator>
      <pubDate>Mon, 16 Nov 2020 09:33:59 +0000</pubDate>
      <link>https://dev.to/arc__coder/3d-card-effect-kbp</link>
      <guid>https://dev.to/arc__coder/3d-card-effect-kbp</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;a href="https://youtu.be/0sJQxT4tgpM" rel="noopener noreferrer"&gt;YouTube Video by me&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;Today we are going to learn how to make an animated card design by using &lt;strong&gt;CSS and JavaScript&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We will be making a Shoe Product Card that would describe its details.&lt;/p&gt;




&lt;p&gt;Final Result&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fctz7spetljyiioh00y7x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fctz7spetljyiioh00y7x.png" alt="Final Result"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;CodePen&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/arc-coder/embed/ExyMNvY?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




&lt;p&gt;HTML Code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;meta charset="UTF-8" /&amp;gt;
        &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&amp;gt;
        &amp;lt;title&amp;gt;3d Card Effect&amp;lt;/title&amp;gt;
        &amp;lt;link
            href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&amp;amp;display=swap"
            rel="stylesheet"
        /&amp;gt;
        &amp;lt;link rel="stylesheet" href="./style.css" /&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;div class="container"&amp;gt;
            &amp;lt;div class="card"&amp;gt;
                &amp;lt;div class="sneaker"&amp;gt;
                    &amp;lt;div class="circle"&amp;gt;&amp;lt;/div&amp;gt;
                    &amp;lt;img src="./adidas.png" alt="adidas" /&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;div class="info"&amp;gt;
                    &amp;lt;h1 class="title"&amp;gt;Adidas ZX&amp;lt;/h1&amp;gt;
                    &amp;lt;h3&amp;gt;
                        FUTURE-READY TRAINERS WITH WRAPPED BOOST FOR EXCEPTION
                        COMFORT.
                    &amp;lt;/h3&amp;gt;
                    &amp;lt;div class="sizes"&amp;gt;
                        &amp;lt;button&amp;gt;39&amp;lt;/button&amp;gt;
                        &amp;lt;button&amp;gt;40&amp;lt;/button&amp;gt;
                        &amp;lt;button class="active"&amp;gt;42&amp;lt;/button&amp;gt;
                        &amp;lt;button&amp;gt;44&amp;lt;/button&amp;gt;
                    &amp;lt;/div&amp;gt;
                    &amp;lt;div class="purchase"&amp;gt;
                        &amp;lt;button&amp;gt;Purchase&amp;lt;/button&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;script src="./app.js"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;CSS Code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.container {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    transform-style: preserve-3d;
    min-height: 80vh;
    width: 35rem;
    border-radius: 30px;
    padding: 0rem 5rem;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2), 0px 0px 50px rgba(0, 0, 0, 0.2);
}

.sneaker {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sneaker img {
    width: 20rem;
    z-index: 2;
    transition: all 0.75s ease-out;
}

.circle {
    width: 15rem;
    height: 15rem;
    background: linear-gradient(
        to right,
        rgba(245, 70, 66, 0.75),
        rgba(8, 83, 156, 0.75)
    );
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.info h1 {
    font-size: 3rem;
    transition: all 0.75s ease-out;
}

.info h3 {
    font-size: 1.3rem;
    padding: 2rem 0rem;
    color: #585858;
    font-weight: lighter;
    transition: all 0.75s ease-out;
}

.sizes {
    display: flex;
    justify-content: space-between;
    transition: all 0.75s ease-out;
}

.sizes button {
    padding: 0.5rem 2rem;
    background: none;
    border: none;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    color: #585858;
}

button.active {
    background: #585858;
    color: white;
}

.purchase {
    margin-top: 5rem;
    transition: all 0.75s ease-out;
}

.purchase button {
    width: 100%;
    padding: 1rem 0rem;
    background: #f54642;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bolder;
    outline: none;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;JavaScript Code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//Movement Animation to happen
const card = document.querySelector(".card");
const container = document.querySelector(".container");

//Items
const title = document.querySelector(".title");
const sneaker = document.querySelector(".sneaker img");
const purchase = document.querySelector(".purchase");
const description = document.querySelector(".info h3");
const sizes = document.querySelector(".sizes");

//Moving Animation Event
container.addEventListener("mousemove", (e) =&amp;gt; {
    let xAxis = (window.innerWidth / 2 - e.pageX) / 25;
    let yAxis = (window.innerHeight / 2 - e.pageY) / 25;
    card.style.transform = `rotateY(${xAxis}deg) rotateX(${yAxis}deg)`;
});

//Animate In
container.addEventListener("mouseenter", (e) =&amp;gt; {
    card.style.transition = "none";

    //Popout
    title.style.transform = "translateZ(150px)";
    sneaker.style.transform = "translateZ(200px) rotateZ(-15deg)";
    description.style.transform = "translateZ(125px)";
    sizes.style.transform = "translateZ(100px)";
    purchase.style.transform = "translateZ(75px)";
});

//Animate Out
container.addEventListener("mouseleave", (e) =&amp;gt; {
    card.style.transition = "all 0.5s ease";
    card.style.transform = `rotateY(0deg) rotateX(0deg)`;

    //Popback
    title.style.transform = "translateZ(0px)";
    sneaker.style.transform = "translateZ(0px) rotateZ(0deg)";
    description.style.transform = "translateZ(0px)";
    sizes.style.transform = "translateZ(0px)";
    purchase.style.transform = "translateZ(0px)";
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>css</category>
      <category>html</category>
      <category>javascript</category>
      <category>animation</category>
    </item>
    <item>
      <title>Light Neumorphic Cards with CSS</title>
      <dc:creator>Arc Coder | Harsh Patel</dc:creator>
      <pubDate>Sun, 15 Nov 2020 05:28:07 +0000</pubDate>
      <link>https://dev.to/arc__coder/light-neumorphic-cards-with-css-5g53</link>
      <guid>https://dev.to/arc__coder/light-neumorphic-cards-with-css-5g53</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.youtube.com/watch?v=bcjAdygudqg"&gt;YouTube Video by me&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;Today we are going to learn how to make animated &lt;strong&gt;Neumorphic Cards&lt;/strong&gt; by using CSS.&lt;/p&gt;

&lt;p&gt;We would be using just &lt;strong&gt;CSS and HTML&lt;/strong&gt; to animate the cards.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Final Outcome&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--P0H2PdQ0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/akkays6jpp71rl0bp1gu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--P0H2PdQ0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/akkays6jpp71rl0bp1gu.png" alt="Final Outcome"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;CodePen&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/arc-coder/embed/BazMvLK?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;meta charset="UTF-8" /&amp;gt;
        &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&amp;gt;
        &amp;lt;link rel="stylesheet" href="index.css"&amp;gt;
        &amp;lt;title&amp;gt;CSS Light Neumorphic Cards&amp;lt;/title&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;div class="container"&amp;gt;
            &amp;lt;div class="card"&amp;gt;
                &amp;lt;div class="box"&amp;gt;
                    &amp;lt;div class="content"&amp;gt;
                        &amp;lt;h2&amp;gt;01&amp;lt;/h2&amp;gt;
                        &amp;lt;h3&amp;gt;Card One&amp;lt;/h3&amp;gt;
                        &amp;lt;p&amp;gt;
                            Lorem ipsum dolor sit amet consectetur adipisicing
                            elit. Dolorum exercitationem explicabo, quae eaque
                            fuga quia adipisci quo? Corporis, in nihil.
                        &amp;lt;/p&amp;gt;
                        &amp;lt;a href="#"&amp;gt;Read More&amp;lt;/a&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="card"&amp;gt;
                &amp;lt;div class="box"&amp;gt;
                    &amp;lt;div class="content"&amp;gt;
                        &amp;lt;h2&amp;gt;02&amp;lt;/h2&amp;gt;
                        &amp;lt;h3&amp;gt;Card Two&amp;lt;/h3&amp;gt;
                        &amp;lt;p&amp;gt;
                            Lorem ipsum dolor sit amet consectetur adipisicing
                            elit. Dolorum exercitationem explicabo, quae eaque
                            fuga quia adipisci quo? Corporis, in nihil.
                        &amp;lt;/p&amp;gt;
                        &amp;lt;a href="#"&amp;gt;Read More&amp;lt;/a&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="card"&amp;gt;
                &amp;lt;div class="box"&amp;gt;
                    &amp;lt;div class="content"&amp;gt;
                        &amp;lt;h2&amp;gt;03&amp;lt;/h2&amp;gt;
                        &amp;lt;h3&amp;gt;Card Three&amp;lt;/h3&amp;gt;
                        &amp;lt;p&amp;gt;
                            Lorem ipsum dolor sit amet consectetur adipisicing
                            elit. Dolorum exercitationem explicabo, quae eaque
                            fuga quia adipisci quo? Corporis, in nihil.
                        &amp;lt;/p&amp;gt;
                        &amp;lt;a href="#"&amp;gt;Read More&amp;lt;/a&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&amp;amp;display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #ebf5fc;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.container .card {
    position: relative;
    width: 320px;
    height: 440px;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.05),
                inset -5px -5px 5px rgba(255, 255, 255, 0.5),
                5px 5px 5px rgba(0, 0, 0, 0.05),
                -5px -5px 5px rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin: 30px;
    cursor: pointer;
}

.container .card .box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #ebf5fc;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: transform 500ms linear,
                box-shadow 500ms linear,
                background 500ms linear;
}

.container .card:hover .box {
    transform: translateY(-50px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #b95ce4, #4f29cd);
}

.container .card .box .content {
    padding: 20px;
    text-align: center;
}

.container .card .box .content h2 {
    position: absolute;
    top: -10px;
    right: 30px;
    font-size: 8em;
    color: rgba(0, 0, 0, 0.02);
    transition: color 500ms linear;
}

.container .card:hover .box .content h2 {
    color: rgba(0, 0, 0, 0.05);
}

.container .card .box .content h3 {
    font-size: 1.8em;
    color: #777;
    z-index: 1;
    transition: color 500ms linear;
}

.container .card .box .content p {
    font-size: 1em;
    font-weight: 300;
    color: #777;
    z-index: 1;
    transition: color 500ms linear;
}

.container .card:hover .box .content h3,
.container .card:hover .box .content p {
    color: #fff;
}

.container .card .box .content a {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background: #03a9f4;
    margin-top: 15px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.container .card:hover .box .content a {
    background: #ff568f;
}

@media only screen and (max-width: 1140px) {
    .container {
        flex-direction: column;
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>css</category>
      <category>html</category>
      <category>design</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Fluid CSS Gallery</title>
      <dc:creator>Arc Coder | Harsh Patel</dc:creator>
      <pubDate>Thu, 12 Nov 2020 07:09:20 +0000</pubDate>
      <link>https://dev.to/arc__coder/fluid-css-gallery-3bfj</link>
      <guid>https://dev.to/arc__coder/fluid-css-gallery-3bfj</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.youtube.com/watch?v=NfkiuFgxWpI" rel="noopener noreferrer"&gt;YouTube Video by me&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;Today we're going to learn how to implement the fluid image gallery where the column of the gallery is responsive according to the height of the image.&lt;/p&gt;

&lt;p&gt;Here we would be using &lt;strong&gt;CSS Flex&lt;/strong&gt; to achieve responsiveness.&lt;/p&gt;

&lt;p&gt;We would be using 3 columns for the widescreen and one column for the smaller screen.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Final Outcome&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2c0hphifbbkaxhlbiywh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2c0hphifbbkaxhlbiywh.png" alt="Website outcome"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Codepen&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/arc-coder/embed/GRqwaBY?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;meta charset="UTF-8" /&amp;gt;
        &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&amp;gt;
        &amp;lt;link rel="stylesheet" href="index.css"&amp;gt;
        &amp;lt;title&amp;gt;Fluid CSS Gallery&amp;lt;/title&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;div class="row"&amp;gt;
            &amp;lt;div class="column"&amp;gt;
                &amp;lt;img
                    src="https://images.pexels.com/photos/1108099/pexels-photo-1108099.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;

                &amp;lt;img
                    src="https://images.pexels.com/photos/38867/pexels-photo-38867.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;

                &amp;lt;img
                    src="https://images.pexels.com/photos/406014/pexels-photo-406014.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;

                &amp;lt;img
                    src="https://images.pexels.com/photos/1378849/pexels-photo-1378849.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="column"&amp;gt;
                &amp;lt;img
                    src="https://images.pexels.com/photos/1389994/pexels-photo-1389994.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;

                &amp;lt;img
                    src="https://images.pexels.com/photos/1254140/pexels-photo-1254140.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;

                &amp;lt;img
                    src="https://images.pexels.com/photos/320014/pexels-photo-320014.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class="column"&amp;gt;
                &amp;lt;img
                    src="https://images.pexels.com/photos/39317/chihuahua-dog-puppy-cute-39317.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;

                &amp;lt;img
                    src="https://images.pexels.com/photos/1805164/pexels-photo-1805164.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;

                &amp;lt;img
                    src="https://images.pexels.com/photos/1452717/pexels-photo-1452717.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;

                &amp;lt;img
                    src="https://images.pexels.com/photos/129634/pexels-photo-129634.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500"
                    alt=""
                /&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column {
    flex: 25%;
    max-width: 33.3%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    filter: grayscale(1) brightness(0.5);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s linear;
}

.column img:hover {
    filter: grayscale(0);
}

@media screen and (max-width: 800px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
    .column img {
        filter: grayscale(0) brightness(1);
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>css</category>
      <category>html</category>
      <category>gallery</category>
      <category>responsive</category>
    </item>
    <item>
      <title>For Loop in JavaScript / ReactJS</title>
      <dc:creator>Arc Coder | Harsh Patel</dc:creator>
      <pubDate>Tue, 10 Nov 2020 06:05:01 +0000</pubDate>
      <link>https://dev.to/arc__coder/for-loop-in-javascript-reactjs-10jp</link>
      <guid>https://dev.to/arc__coder/for-loop-in-javascript-reactjs-10jp</guid>
      <description>&lt;p&gt;A for loop can not be used directly in the JSX block. So we can not use it inside the &lt;strong&gt;return&lt;/strong&gt; block.&lt;/p&gt;

&lt;p&gt;So we have to make a function for that. The function can either be it the main functional block or the custom function made inside the main function. Here I've used the main &lt;strong&gt;App&lt;/strong&gt; function block only.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;export default function App() {
    const items = [];

    for (var i = 0; i &amp;lt; 20; i = i + 3) {
        const itemsArr = [];
        for (var j = i; j &amp;lt; i + 3; j++) {
            itemsArr.push(&amp;lt;span&amp;gt;{j}&amp;lt;/span&amp;gt;);
        }
        items.push(&amp;lt;div&amp;gt;{itemsArr}&amp;lt;/div&amp;gt;);
    }

    return items;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>react</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Top 6 YouTube channels to learn programming</title>
      <dc:creator>Arc Coder | Harsh Patel</dc:creator>
      <pubDate>Wed, 04 Nov 2020 14:35:32 +0000</pubDate>
      <link>https://dev.to/arc__coder/top-6-youtube-channels-to-learn-programming-55a5</link>
      <guid>https://dev.to/arc__coder/top-6-youtube-channels-to-learn-programming-55a5</guid>
      <description>&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ"&gt;freeCodeCamp&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg"&gt;Net Ninja&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/user/Computerphile"&gt;Computerphile&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/user/programmingwithmosh"&gt;Programming with Mosh&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/user/sentdex"&gt;sentdex&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/user/schafer5"&gt;Corey Schafer&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>productivity</category>
      <category>programming</category>
      <category>coding</category>
      <category>youtube</category>
    </item>
  </channel>
</rss>
