<?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: Ali Shata</title>
    <description>The latest articles on DEV Community by Ali Shata (@alishata128).</description>
    <link>https://dev.to/alishata128</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F928031%2F545c664f-3ea5-4070-899f-dfdeec17b9cf.png</url>
      <title>DEV Community: Ali Shata</title>
      <link>https://dev.to/alishata128</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alishata128"/>
    <language>en</language>
    <item>
      <title>Create an INFINITE CSS Carousel🤖 w/ Negative animation-delay !</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Fri, 19 Jun 2026 21:09:22 +0000</pubDate>
      <link>https://dev.to/alishata128/create-an-infinite-css-carousel-w-negative-animation-delay--261d</link>
      <guid>https://dev.to/alishata128/create-an-infinite-css-carousel-w-negative-animation-delay--261d</guid>
      <description>&lt;p&gt;The main idea of a Carousel isn't just about moving a bunch of elements from left to right because there must be a smoothly infinite movement, this can be done by duplicating the element, but wouldn't it be a waste of time and resources to do so.&lt;/p&gt;

&lt;p&gt;So the best solution would be rather than moving the whole element, we just move each element on a time based manner, all elements will have the animation but each element will have a unique (incremented) index, by which we will delay its start, and if we made this delay negative, we will have a smooth movement without any lagging&lt;/p&gt;

&lt;p&gt;adding a will-change will make a separate compositing layer to make the animation run on gpu rather than cpu&lt;/p&gt;

&lt;p&gt;below is a demo by which, you can understand the effect&lt;/p&gt;

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

&lt;p&gt;You can reach me (if you had any problems with the effect):&lt;br&gt;
&lt;a href="https://x.com/alishata128" rel="noopener noreferrer"&gt;X / twitter&lt;/a&gt; "where I post a lot!"&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/alishata/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>animation</category>
      <category>ui</category>
      <category>frontend</category>
    </item>
    <item>
      <title>Colorful Binocular Navbar</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Sun, 29 Sep 2024 20:01:13 +0000</pubDate>
      <link>https://dev.to/alishata128/colorful-binocular-navbar-32ce</link>
      <guid>https://dev.to/alishata128/colorful-binocular-navbar-32ce</guid>
      <description>&lt;p&gt;Inspired by a Framer Project, just by using simple positioning calculations of getting the center of an item and moving from it in all directions, then using those coordinates to transform the binocular bar, along with getting the current item to clip the whole binocular to a specific item&lt;/p&gt;

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

</description>
      <category>codepen</category>
      <category>showdev</category>
      <category>css</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Blurry Fill Avatar Card 💎</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Fri, 27 Sep 2024 15:41:09 +0000</pubDate>
      <link>https://dev.to/alishata128/filled-avatar-card-25d2</link>
      <guid>https://dev.to/alishata128/filled-avatar-card-25d2</guid>
      <description>&lt;p&gt;Inspired by a Figma design!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JavaScript setInterval to update data.&lt;/li&gt;
&lt;li&gt;CSS for the rest👏&lt;/li&gt;
&lt;/ul&gt;

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

</description>
      <category>codepen</category>
      <category>showdev</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Blurry Card with Parallax Effect 💳</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Sun, 22 Sep 2024 23:31:23 +0000</pubDate>
      <link>https://dev.to/alishata128/blurry-card-with-parallax-3fmf</link>
      <guid>https://dev.to/alishata128/blurry-card-with-parallax-3fmf</guid>
      <description>&lt;ul&gt;
&lt;li&gt;inspired by @jh3yy but without image duplication.&lt;/li&gt;
&lt;li&gt;just a pure blurry backdrop that is linearly masked.&lt;/li&gt;
&lt;li&gt;used gsap to achieve parallax effect &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Click the ALIEN for more stuff !&lt;/em&gt;&lt;/p&gt;

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

</description>
      <category>codepen</category>
      <category>showdev</category>
      <category>gsap</category>
      <category>animation</category>
    </item>
    <item>
      <title>Slidy Growing Nav</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Fri, 20 Sep 2024 19:35:57 +0000</pubDate>
      <link>https://dev.to/alishata128/slidy-grow-nav-4j74</link>
      <guid>https://dev.to/alishata128/slidy-grow-nav-4j74</guid>
      <description>&lt;ul&gt;
&lt;li&gt;made using CSS only [one custom property, sticky positioning, scroll-driven animation]&lt;/li&gt;
&lt;/ul&gt;

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

</description>
      <category>codepen</category>
      <category>showdev</category>
      <category>css</category>
    </item>
    <item>
      <title>Gradual Blurred Gradience Triangles [CSS Only ! 🤩]</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Fri, 20 Sep 2024 19:34:41 +0000</pubDate>
      <link>https://dev.to/alishata128/gradual-blurred-gradience-triangles-css-only--4bio</link>
      <guid>https://dev.to/alishata128/gradual-blurred-gradience-triangles-css-only--4bio</guid>
      <description>&lt;p&gt;Gradual Blurred Gradience Triangles [CSS Only ! 🤩] &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;using the power of clip path along with masking and backdrop-filter&lt;/li&gt;
&lt;/ul&gt;

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

</description>
      <category>codepen</category>
      <category>showdev</category>
      <category>css</category>
    </item>
    <item>
      <title>CSS-only Shining Stroke ✨!</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Fri, 20 Sep 2024 19:33:02 +0000</pubDate>
      <link>https://dev.to/alishata128/css-only-shining-stroke--462a</link>
      <guid>https://dev.to/alishata128/css-only-shining-stroke--462a</guid>
      <description>&lt;p&gt;Inspired by a Post on X/Twitter on creating a shining stroke in figma, I thought that I can create it using CSS multi layered background images  that are blended on a color-dodge mode, and masking them along with clipping those masks and compositing them in subtract to show only the border, also used css custom properties to manage the gradient direction, border-size, square size&lt;/p&gt;

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

</description>
      <category>codepen</category>
      <category>showdev</category>
      <category>css</category>
    </item>
    <item>
      <title>"Trapped Alien" CSS Art &amp; Animation</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Wed, 11 Sep 2024 03:51:39 +0000</pubDate>
      <link>https://dev.to/alishata128/trapped-alien-css-art-animation-gfc</link>
      <guid>https://dev.to/alishata128/trapped-alien-css-art-animation-gfc</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for &lt;a href="https://dev.to/challenges/frontend-2024-09-04"&gt;Frontend Challenge v24.09.04&lt;/a&gt;, CSS Art: Space.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Inspiration
&lt;/h2&gt;

&lt;p&gt;I'm showing a 2D Alien Trapped in a Space hole, with Space Texture behind him to create some depth and parallax also it's interactive to mouse hover, all is my Original Work and made using CSS Only, Inspired by Cartoons especially the simple shape cartoon characters along with Alien &amp;amp; UFO Culture.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  Journey
&lt;/h2&gt;

&lt;p&gt;CSS Art isn't something new to me, I made some css art back then when I was starting learning about CSS, However this challenge allowed me to refresh my knowledge and deepen it with the unpredictable possibilities of CSS, the one thing that was completely new to me was: Updating a custom CSS property in an animation and using it to transition and element from a state to another.&lt;/p&gt;

</description>
      <category>frontendchallenge</category>
      <category>devchallenge</category>
      <category>css</category>
    </item>
    <item>
      <title>"Insect Particlizer" an Experiment of combining Pixel Manipulation with CSS.</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Sat, 31 Aug 2024 04:56:08 +0000</pubDate>
      <link>https://dev.to/alishata128/insect-particlizer-an-experiment-of-combining-pixel-manipulation-with-css-1m49</link>
      <guid>https://dev.to/alishata128/insect-particlizer-an-experiment-of-combining-pixel-manipulation-with-css-1m49</guid>
      <description>&lt;p&gt;Canvas..what a beautiful name that doesn't express how much I love this API, although it was terrible for me at the beginning, but after some trial and error, I understood it, even tried to create uncommon stuff with that crashed my IDE several times. This experiment here is just a one of an uncountable number of experiments that I'm doing quite often in my Frontend journey, here I used Canvas API to get the data of the insect's image, then handled this data in one CSS property (yeah one!)to produce this particles effect.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcwm6cd8vydhtoz84iirx.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcwm6cd8vydhtoz84iirx.gif" alt="Insect Particlizer" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Question here is, how this could be possible..how one CSS property could handle the image's data (an array of 100000 arrays btw)?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;I 'really encourage you my reader to discuss with me in the comments, even try to brainstorm some ideas, maybe you can come up with a better answer than mine.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>showdev</category>
      <category>frontend</category>
      <category>css</category>
      <category>gamedev</category>
    </item>
    <item>
      <title>Cartoon Character in a Login Form !</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Sat, 31 Aug 2024 04:49:01 +0000</pubDate>
      <link>https://dev.to/alishata128/cartoon-character-in-a-login-form--46ol</link>
      <guid>https://dev.to/alishata128/cartoon-character-in-a-login-form--46ol</guid>
      <description>&lt;p&gt;This is an Experiment inspired by some good codepens that showed how CSS could create cartoons (even 3Ds), after I came across those pens I managed to build one, and although this my first cartoon character I draw on CSS, it turned out very impressive&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F05y0pi8ktmbzvutj0ybq.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F05y0pi8ktmbzvutj0ybq.gif" alt="Cartoon in Login Form" width="599" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>showdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>When Hovering on a Text becomes Sticky as GUM! 😱</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Sat, 31 Aug 2024 04:18:40 +0000</pubDate>
      <link>https://dev.to/alishata128/when-hovering-on-a-text-becomes-sticky-as-gum-le3</link>
      <guid>https://dev.to/alishata128/when-hovering-on-a-text-becomes-sticky-as-gum-le3</guid>
      <description>&lt;p&gt;When it came to hovering on text elements, or any other elements, we by default including me change colors, opacity, font-size, padding, font-weight, even make some good use of transforms, but I'm always searching for the next level, So I came up with this effect that I call the "&lt;strong&gt;Fisheye Text Effect&lt;/strong&gt;", it also could work for images but.. (this will be an upcoming showdev post later!).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw24xleydskcu09ziv1as.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw24xleydskcu09ziv1as.gif" alt="Fisheye Text Effect" width="759" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What do you think of it? any suggestions, improvements, even negative opinions are welcomed!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>css</category>
      <category>javascript</category>
      <category>frontend</category>
    </item>
    <item>
      <title>Make Every Second have a Theme! ⏰ using @property and hsl()</title>
      <dc:creator>Ali Shata</dc:creator>
      <pubDate>Wed, 28 Aug 2024 16:48:14 +0000</pubDate>
      <link>https://dev.to/alishata128/make-every-second-have-a-theme-using-property-and-hsl-4n55</link>
      <guid>https://dev.to/alishata128/make-every-second-have-a-theme-using-property-and-hsl-4n55</guid>
      <description>&lt;h2&gt;
  
  
  🌟 Introduction
&lt;/h2&gt;

&lt;p&gt;Have you ever wanted to create a clock that does more than just tell time? What if every second that ticks by could bring a fresh new theme? With CSS @property and the power of hsl() color manipulation, you can! In this article, I'll walk you through the creating process of a dynamic and visually engaging "Theme Clock" that changes its colors (aka its theme) every second, bringing a new life to each moment!.&lt;/p&gt;




&lt;h2&gt;
  
  
  🕰️ The Concept
&lt;/h2&gt;

&lt;p&gt;The idea behind the "Theme Clock" is simple yet captivating: as time passes, the clock’s appearance changes. We’ll leverage CSS custom properties to animate the hue of colors (well it's an angle in degrees) and update the clock's theme every second (also for every minute and hour as wel). The result? A seamless, ever-changing clock that is as mesmerizing as it is functional.&lt;/p&gt;




&lt;h2&gt;
  
  
  💻 Demo &amp;amp; Code
&lt;/h2&gt;

&lt;p&gt;Well, here’s the full code for the "Theme Clock." I'll break it down to understand how each part contributes to the overall effect.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;iframe height="600" src="https://codepen.io/alishata/embed/xxeoREM?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;

&lt;/h2&gt;

&lt;h2&gt;
  
  
  🧩 Breaking Down the Code
&lt;/h2&gt;

&lt;p&gt;1.CSS Custom Properties and @property: The magic behind this theme-changing clock lies in the use of CSS custom properties and the @property rule. We define a custom property --angle that controls the hue of the clock’s colors using the hsl() function. By animating this property over 60 seconds with the @keyframes rule, we achieve a continuous color transition.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Custom Property --angle&lt;/strong&gt;: This controls the hue of the hsl() color, dynamically changing the theme. and also makes the custom property animatable, allowing smooth transitions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CSS @keyframes anim&lt;/strong&gt;: This animation rotates the hue value from 0 to 360 over 60 seconds, cycling through the entire color spectrum.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2.Dynamic Theme Switching: The toggle button allows users to switch between light and dark themes. The button click toggles a dark class on the html element, altering the clock’s appearance.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Light/Dark Mode Toggle&lt;/strong&gt;: The theme can be switched with a button that dynamically updates the clock’s appearance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Container Rotation Animation&lt;/strong&gt;: The clock container spins when the theme changes, adding a subtle transition effect.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;3.Clock and Time Update: The JavaScript portion of the code handles the updating of the clock’s hands and the digital time display. The setTime function recalculates the positions of the hour, minute, and second hands every second, while also updating the time and date display.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;"scale" Function&lt;/strong&gt;: Converts the current time into corresponding degrees for the clock hands rotation.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  - &lt;strong&gt;Real-Time Updates&lt;/strong&gt;: The clock hands and digital time are updated every second to match the current time.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🚀 Bringing All parts together
&lt;/h2&gt;

&lt;p&gt;By combining the power of CSS custom properties, hsl() color manipulation, and the @property rule, we've created a clock that not only tells time but also evolves in appearance with every passing second. This project is a great example of how CSS can be used to create interactive and visually appealing web elements with minimal JavaScript.&lt;/p&gt;




&lt;p&gt;Drop a like ❤️, and Follow for more &lt;a href="https://twitter.com/alishata128" rel="noopener noreferrer"&gt;alishata128&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>javascript</category>
      <category>design</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
