<?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: Temani Afif</title>
    <description>The latest articles on DEV Community by Temani Afif (@afif).</description>
    <link>https://dev.to/afif</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%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png</url>
      <title>DEV Community: Temani Afif</title>
      <link>https://dev.to/afif</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/afif"/>
    <language>en</language>
    <item>
      <title>A CSS-only game playable with keyboard! 🤯 (No, you are not dreaming)</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Mon, 27 May 2024 13:44:03 +0000</pubDate>
      <link>https://dev.to/afif/a-css-only-game-playable-with-keyboard-no-you-are-not-dreaming-480n</link>
      <guid>https://dev.to/afif/a-css-only-game-playable-with-keyboard-no-you-are-not-dreaming-480n</guid>
      <description>&lt;p&gt;You think it's a clickbait title or it's a joke but No! I created a CSS-only game that you can play using your keyboard. No hidden JavaScript and 100% CSS Magic.&lt;/p&gt;

&lt;p&gt;Enjoy the first-ever CSS-only game playable using the keyboard! 🥳&lt;/p&gt;




&lt;h1&gt;
  
  
  &lt;center&gt;Super CSS Mario&lt;/center&gt;
&lt;/h1&gt;

&lt;h2&gt;
  
  
  &lt;center&gt; 👉 &lt;a href="https://css-games.com/super-css-mario/" rel="noopener noreferrer"&gt;Start a New Game&lt;/a&gt; 👈 &lt;/center&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://css-games.com/super-css-mario/" rel="noopener noreferrer"&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%2Fuploads%2Farticles%2Fz2k9e1gqucpznbdt51sr.gif" alt="Overview of the CSS-only game"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you prefer here is a &lt;a href="https://codepen.io/t_afif/full/OJYbVWP" rel="noopener noreferrer"&gt;codepen link&lt;/a&gt; and it's a chrome-only experimentation (like all the cool stuff).&lt;/p&gt;

&lt;p&gt;Record yourself and show me your best attempt👇 (No screenshots and no cheating 😈)&lt;/p&gt;




&lt;p&gt;Share it so that people know what is possible using modern CSS features or if you want another argument against the "CSS is not a programming language" 😜&lt;/p&gt;

&lt;p&gt;&lt;iframe class="tweet-embed" id="tweet-1795027054695436404-291" src="https://platform.twitter.com/embed/Tweet.html?id=1795027054695436404"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-1795027054695436404-291');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1795027054695436404&amp;amp;theme=dark"
  }



&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
    <item>
      <title>css-shape.com: The Ultimate Collection of CSS-only Shapes ⚡️</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Mon, 22 Apr 2024 11:17:29 +0000</pubDate>
      <link>https://dev.to/afif/css-shapecom-the-ultimate-collection-of-css-only-shapes-52p5</link>
      <guid>https://dev.to/afif/css-shapecom-the-ultimate-collection-of-css-only-shapes-52p5</guid>
      <description>&lt;p&gt;Are you searching for a CSS Shape? Look no further! I have collected all&lt;sup&gt;1&lt;/sup&gt; of them into one place.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt;👉 &lt;a href="https://css-shape.com" rel="noopener noreferrer"&gt;css-shape.com&lt;/a&gt; 👈 &lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;The only resource you will ever need for CSS Shapes!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Pfff, another website for CSS Shapes?! We already have countless websites and all the shapes are already made a ton of times! Why another one?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Don't leave yet and continue reading to understand why my website is better than most of the online resources!&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Single-element Implementation
&lt;/h3&gt;

&lt;p&gt;Every shape is created with a single element. No complex HTML code whatsoever. &lt;strong&gt;Only One element&lt;/strong&gt; and that's all!&lt;/p&gt;

&lt;p&gt;Most of the shapes don't even require pseudo-elements so they can be applied to images as well.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Modern CSS
&lt;/h3&gt;

&lt;p&gt;No magic numbers, No hacks, No headaches! Only modern CSS is used to create the different shapes. Forget about those old and obsolete codes and discover new ways to easily create CSS shapes!&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Optimized Code
&lt;/h3&gt;

&lt;p&gt;When using modern CSS, we don't need a lot of code. Only a few lines are enough to create even the most complex shapes. I optimized each code to be the smallest possible. &lt;/p&gt;

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

&lt;h3&gt;
  
  
  Flexibility
&lt;/h3&gt;

&lt;p&gt;An optimized code means that it's unreadable, hard to understand, and difficult to update. This is not an issue because I am relying on CSS variables to control the shapes.&lt;/p&gt;

&lt;p&gt;No need to dig into the code and make a lot of changes to control the shape. You only have to adjust a few values to get any variation you want.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Easy to use
&lt;/h3&gt;

&lt;p&gt;I hope you are comfortable using NPM packages and the command line because you don't need any of them! One click is all that you need to copy the CSS code and use it. As simple as that!&lt;/p&gt;

&lt;p&gt;You can also edit the code online to update the different values and see the changes live before copying the code. &lt;/p&gt;

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

&lt;p&gt;Not yet convinced? Visit &lt;a href="https://css-shape.com/" rel="noopener noreferrer"&gt;the website&lt;/a&gt; and I am sure you will instantly click that bookmark button! &lt;sup&gt;If you don't, I will haunt you for the rest of your life 👹&lt;/sup&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt;👉 &lt;a href="https://css-shape.com" rel="noopener noreferrer"&gt;css-shape.com&lt;/a&gt; 👈 &lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;&lt;sup&gt;1&lt;/sup&gt;: Saying "all" the shapes is a bit pretentious but that's the ultimate goal. I am launching the website with many CSS Shapes but I have even more on the waiting list. This is only the beginning and more Shapes will be added in the future.&lt;/p&gt;

&lt;p&gt;You can also help! If you see a missing shape or you want a specific one, drop a comment and I will try to add it 👇&lt;/p&gt;





&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/css-loaderscom-the-biggest-collection-of-loading-animations-more-than-500--23jg" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;css-loaders.com: The Biggest Collection of Loading Animations (more than 500 🤯)&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ Aug 30 '23&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#html&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/i-created-100-unique-css-patterns-the-best-collection-31cl" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I created 100+ unique CSS patterns | The best collection 🤩&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ May 23 '23&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#showdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#codepen&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;





&lt;p&gt;&lt;a href="https://ko-fi.com/temani" rel="noopener noreferrer"&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%2Frz2vhrgmbr95qz7w1gi5.png" alt="buy me a coffee" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;OR&lt;/center&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.patreon.com/temani" rel="noopener noreferrer"&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%2Fdb3jtgy2i5l4w8slkps5.png" alt="Become a patron" width="499" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>showdev</category>
    </item>
    <item>
      <title>The Frontend Challenge: 🍩 Donut eat my favorite snack!</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Fri, 22 Mar 2024 19:13:56 +0000</pubDate>
      <link>https://dev.to/afif/the-frontend-challenge-donut-eat-my-favorite-snack-33b0</link>
      <guid>https://dev.to/afif/the-frontend-challenge-donut-eat-my-favorite-snack-33b0</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for DEV Challenge v24.03.20, CSS Art: Favorite Snack.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I think the cover image is more than explicit. I will be drawing a &lt;strong&gt;Donut&lt;/strong&gt; which is the favorite snack of many of you.&lt;/p&gt;

&lt;p&gt;To draw this snack, I invited a Donut expert to help me get the perfect output and make sure my art is so realistic that you want to eat it but &lt;strong&gt;donut eat it!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I know, I know. You are excited to see the result, so let's jump straight to the demo.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYXV1bzRsbGNla2FteTRpYm5wcDdxODIyMXBxZnd1N2szN3I0bDNwNyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ItiWsSXpHKPvphL5Hw/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYXV1bzRsbGNla2FteTRpYm5wcDdxODIyMXBxZnd1N2szN3I0bDNwNyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ItiWsSXpHKPvphL5Hw/giphy.gif" alt="drum roll" width="480" height="343"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Ladies and gentlemen here is my CSS Art: A Beautiful Donut 🥳&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Noooooooooooo 😱
&lt;/h2&gt;




&lt;p&gt;He was supposed to help me draw a Donut not eat it. I spent a lot of time making a perfect donut but now it's over... 😩&lt;/p&gt;

&lt;p&gt;Sorry for this inconvenience, instead of a Donut my entry will be "Homer Simpson ate my Donut".&lt;/p&gt;

&lt;p&gt;I was really proud of my Donut...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExNG41ZTNsbHgyNDNydWN2aXJvejl0dWNjNXg2ejhydWxoMXF4MWpociZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/27EhcDHnlkw1O/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExNG41ZTNsbHgyNDNydWN2aXJvejl0dWNjNXg2ejhydWxoMXF4MWpociZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/27EhcDHnlkw1O/giphy.gif" alt="facepalm" width="343" height="272"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Wait a minute, nothing is lost! I have tried to make a few donuts before he came. Yes, I am saved!&lt;/p&gt;

&lt;p&gt;Well, they are not as perfect as the one Homer ate but still good ones. &lt;/p&gt;

&lt;p&gt;Hurry Up and select one before he eats them as well!&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/t_afif/embed/NWmjbXy?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;I wanted something a bit surprising and creative so I hope you liked this plot twist 😁&lt;/p&gt;

&lt;p&gt;The donut is a single-element implementation and can be easily adjusted to get as many variations as you want. I used an &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; tag to get that "eating" effect on click.&lt;/p&gt;

&lt;p&gt;Drawing Homer Simpson was more complicated but it was a good opportunity to get back to some &lt;a href="https://css-only.art/"&gt;CSS Arts&lt;/a&gt; so thank you for this challenge! &lt;/p&gt;

&lt;p&gt;The demos are best viewed in Chrome (or Firefox). &lt;/p&gt;

&lt;p&gt;&lt;sup&gt;&lt;sup&gt;Please, don't ask me about Safari&lt;/sup&gt;&lt;/sup&gt;&lt;/p&gt;

</description>
      <category>frontendchallenge</category>
      <category>devchallenge</category>
      <category>css</category>
    </item>
    <item>
      <title>Do you need a Tooltip or a Speech Bubble? I have created 100 using CSS 😲</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Mon, 04 Mar 2024 14:20:36 +0000</pubDate>
      <link>https://dev.to/afif/do-you-need-a-tooltip-or-a-speech-bubble-i-have-created-100-using-css-2l17</link>
      <guid>https://dev.to/afif/do-you-need-a-tooltip-or-a-speech-bubble-i-have-created-100-using-css-2l17</guid>
      <description>&lt;p&gt;It's a fact: you will need a &lt;strong&gt;Tooltip&lt;/strong&gt; at least once in your front-end journey so here I am with another CSS-only collection. 100 different tooltip (or speech bubble) shapes!&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt; 👉 &lt;a href="https://css-generators.com/tooltip-speech-bubble/" rel="noopener noreferrer"&gt;CSS Tooltip shapes&lt;/a&gt; 👈 &lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;Stop searching for codes and tutorials on how to create tooltips. My collection contains all the variations you will ever need and guess what? All of them are made with a &lt;strong&gt;single element&lt;/strong&gt;. No complex HTML is required, simply copy the CSS and you are done!&lt;/p&gt;

&lt;p&gt;You will also get a code made with modern CSS and optimized with CSS variables. No magic numbers or hacks, update a few variables to adjust the shape.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;What makes your collection special? There is already a ton of code on the internet to create tooltips and speech bubbles!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In addition to the simple shapes, my collection contains the ones that are difficult to create and even if you find their code on the internet, they are either made with complex code or rely on tons of hacks and magic numbers.&lt;/p&gt;

&lt;p&gt;Not convinced, see a few examples!&lt;/p&gt;

&lt;h3&gt;
  
  
  Rounded Corners
&lt;/h3&gt;

&lt;p&gt;You can have rounded corners while easily adjust the position of the tail using one variable. And without pseudo-elements!&lt;/p&gt;

&lt;p&gt;Play with the following demo to control the tail position.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Gradient Coloration
&lt;/h3&gt;

&lt;p&gt;Do you want a gradient coloration? Here you go!&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Adding Borders
&lt;/h3&gt;

&lt;p&gt;One of the difficult tasks is to add a border around the shape, right? It's no more the case!&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%2Fhmb7eoe333id3f3bfvfh.png" 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%2Fhmb7eoe333id3f3bfvfh.png" alt="CSS-only tooltip with border" width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As a bonus, you can even have a gradient coloration for both the border and background.&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%2F9jlxvdddxemw4nj4l9gh.png" 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%2F9jlxvdddxemw4nj4l9gh.png" alt="CSS-only tooltip with border and gradient coloration" width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What about a border with a gradient coloration and a transparent background? It's there too!&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%2Fmzg2qswsinq27wf7ozgp.png" 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%2Fmzg2qswsinq27wf7ozgp.png" alt="CSS-only tooltip with transparent background and gradient border" width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;I let you explore &lt;a href="https://css-generators.com/tooltip-speech-bubble/" rel="noopener noreferrer"&gt;the whole collection&lt;/a&gt; to see all the examples. Which one will you use for your next project?&lt;/p&gt;

&lt;p&gt;You can get a unique link for each tooltip. If for example, you want the &lt;code&gt;#35&lt;/code&gt; then the link is: &lt;a href="https://css-generators.com/tooltip-speech-bubble/#t35" rel="noopener noreferrer"&gt;https://css-generators.com/tooltip-speech-bubble/#t35&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each shape has its own link for an easy share!&lt;/p&gt;




&lt;p&gt;If you want to know the secret behind creating most of the shapes, I wrote &lt;a href="https://www.smashingmagazine.com/2024/03/modern-css-tooltips-speech-bubbles-part1/" rel="noopener noreferrer"&gt;a detailed article&lt;/a&gt;. Having a code ready to use is good but knowing the CSS tricks is better 👍&lt;/p&gt;





&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/i-made-100-css-loaders-for-your-next-project-4eje" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I made 100 CSS loaders for your next project&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ May 12 '21&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#html&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/100-underline-overlay-animation-the-ultimate-css-collection-4p40" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;100 underline/overlay animations | The ultimate CSS collection 🥇&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ Mar 16 '21&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#codepen&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/i-created-100-unique-css-patterns-the-best-collection-31cl" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I created 100+ unique CSS patterns | The best collection 🤩&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ May 23 '23&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#showdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#codepen&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/i-have-made-100-css-only-ribbon-shapes-the-perfect-collection-4374" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I have made 100+ CSS-only Ribbon Shapes | The Perfect Collection 🎀&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ Nov 13 '23&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#showdev&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;





&lt;p&gt;&lt;a href="https://ko-fi.com/temani" rel="noopener noreferrer"&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%2Frz2vhrgmbr95qz7w1gi5.png" alt="buy me a coffee" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;OR&lt;/center&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.patreon.com/temani" rel="noopener noreferrer"&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%2Fdb3jtgy2i5l4w8slkps5.png" alt="Become a patron" width="499" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Stop using obsolete methods to create CSS Triangles! ⚠️</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Tue, 13 Feb 2024 10:00:32 +0000</pubDate>
      <link>https://dev.to/afif/stop-using-obsolete-methods-to-create-css-triangles-4lo5</link>
      <guid>https://dev.to/afif/stop-using-obsolete-methods-to-create-css-triangles-4lo5</guid>
      <description>&lt;p&gt;The triangle is the most popular shape in CSS since years. If you google "how to create a triangle using CSS" you will get a ton of old and obsolete methods like using the border property 😫 &lt;/p&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;h3&gt;
  
  
  ⚠️ Stop using such methods ⚠️
&lt;/h3&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;p&gt;I have created an online generator from where you can get the code of any CSS triangle with an optimized and modern code&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt; 👉 &lt;a href="https://css-generators.com/triangle-shapes/" rel="noopener noreferrer"&gt;CSS Triangle Shapes&lt;/a&gt; 👈 &lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;You will find the basic triangle shapes but also more complex ones like the border-only and rounded corners triangles.&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%2Fnzhneqzozu72gq6bdq6i.png" 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%2Fnzhneqzozu72gq6bdq6i.png" alt="CSS-only Triangle" width="726" height="393"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;But how to create a triangle shape?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Creating a basic triangle is as simple as using 2 CSS properties: &lt;code&gt;aspect-ratio&lt;/code&gt; and &lt;code&gt;clip-path&lt;/code&gt; with a 3-point polygon. That's all!&lt;/p&gt;

&lt;p&gt;Here is a figure to illustrate a few examples.&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%2Fapi3xzijtuvkzlg0weo0.png" 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%2Fapi3xzijtuvkzlg0weo0.png" alt="Creating a triangle using CSS" width="800" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;No pseudo-element, No border, No magic numbers, nothing complex! You set the ratio, you choose 3 points for your polygon and you are done.&lt;/p&gt;

&lt;p&gt;To create the border-only and rounded corners variations, you will need a more complex code that I won't detail here to keep this article simple but I have &lt;a href="https://verpex.com/blog/website-tips/css-shapes-the-triangle" rel="noopener noreferrer"&gt;another article where I explain them&lt;/a&gt; that I invite you to read.&lt;/p&gt;

&lt;p&gt;​&lt;br&gt;
I will repeat it again, &lt;strong&gt;Stop using obsolete methods to create triangle shapes!&lt;/strong&gt; And if you don't want to write two lines of code, bookmark &lt;a href="https://css-generators.com/triangle-shapes/" rel="noopener noreferrer"&gt;my online collection&lt;/a&gt; so you can easily get the code using one-click.&lt;/p&gt;

&lt;p&gt;My collection doesn't contain all the triangle shapes so feel free to suggest any shape you struggle to create or you think deserve to belong in that collection. Let's have all of them in one place.&lt;/p&gt;




&lt;p&gt;&lt;a href="https://ko-fi.com/temani" rel="noopener noreferrer"&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%2Frz2vhrgmbr95qz7w1gi5.png" alt="buy me a coffee" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;OR&lt;/center&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.patreon.com/temani" rel="noopener noreferrer"&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%2Fdb3jtgy2i5l4w8slkps5.png" alt="Become a patron" width="499" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>html</category>
    </item>
    <item>
      <title>I have made 100+ CSS-only Ribbon Shapes | The Perfect Collection 🎀</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Mon, 13 Nov 2023 10:37:12 +0000</pubDate>
      <link>https://dev.to/afif/i-have-made-100-css-only-ribbon-shapes-the-perfect-collection-4374</link>
      <guid>https://dev.to/afif/i-have-made-100-css-only-ribbon-shapes-the-perfect-collection-4374</guid>
      <description>&lt;p&gt;It's time for another collection! After &lt;a href="https://dev.to/afif/css-loaderscom-the-biggest-collection-of-loading-animations-more-than-500--23jg"&gt;the loaders&lt;/a&gt;, &lt;a href="https://dev.to/afif/100-underline-overlay-animation-the-ultimate-css-collection-4p40"&gt;the hover effects&lt;/a&gt;, and &lt;a href="https://dev.to/afif/i-created-100-unique-css-patterns-the-best-collection-31cl"&gt;the background patterns&lt;/a&gt;, let's make some Ribbon Shapes!&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt; 👉 &lt;a href="https://css-generators.com/ribbon-shapes/" rel="noopener noreferrer"&gt;CSS Ribbon Shapes&lt;/a&gt; 👈 &lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;More than 100 CSS-only Ribbon Shapes that are made using a &lt;strong&gt;single element&lt;/strong&gt;. Yes, only one element per shape (even the most complex ones). &lt;/p&gt;

&lt;p&gt;Stop looking at CSS Ribbons made with old and obsolete code. Mine are made with modern CSS and optimized with CSS variables. There are no magic numbers or fixed dimensions. All the shapes fit whatever content you put inside them and you can easily control them by adjusting a few variables.&lt;/p&gt;

&lt;p&gt;What are you waiting for? All it takes is one click to copy the CSS of any ribbon shape.&lt;/p&gt;




&lt;p&gt;You will find the classic ribbons but a lot of new and fancy ones. I won't detail all of them but here are some of my favorites.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Multi-line Ribbons
&lt;/h3&gt;

&lt;p&gt;Probably the ones I like the most. It was a bit challenging to create a repeating shape that fit multi-line text. In the end, The final result is satisfying.&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%2Fjoec2uinjhg4ifzuqtl4.png" 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%2Fjoec2uinjhg4ifzuqtl4.png" alt="CSS only ribbon shapes with many lines of text" width="800" height="340"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here are two interactive demos where you can edit the text and see how the shape adjusts to fit the content.&lt;/p&gt;

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

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

&lt;h3&gt;
  
  
  The Curved Ribbons
&lt;/h3&gt;

&lt;p&gt;It wasn't easy to combine straight text with a curved shape but I found a few interesting ideas&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%2Fjh1c69dmbefuowgml51a.png" 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%2Fjh1c69dmbefuowgml51a.png" alt="CSS only ribbon with curved shapes" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Infinite Ribbons
&lt;/h2&gt;

&lt;p&gt;A Ribbon that never ends? why not! You will find a few of them that extend to the edge of the screen in any direction you want (top, bottom, right, left).&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%2Fcehplm8u5h7o83wevd1u.png" 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%2Fcehplm8u5h7o83wevd1u.png" alt="CSS-only infinite ribbon shapes" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;They are built without pseudo-elements and won't create any overflow issues. Here are two demos to illustrate some of them (best viewed at full screen)&lt;/p&gt;

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

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




&lt;p&gt;What about you? Which one do you like? 👇&lt;/p&gt;

&lt;p&gt;You can get a unique link for each ribbon. If you like the &lt;code&gt;#54&lt;/code&gt; then the link is: &lt;a href="https://css-generators.com/ribbon-shapes/#r54" rel="noopener noreferrer"&gt;https://css-generators.com/ribbon-shapes/#r54&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can easily share your favorite Ribbon Shape!&lt;/p&gt;




&lt;p&gt;If you want to know the secret behind building such shapes, I have written a few articles that you can find here: &lt;a href="https://css-articles.com" rel="noopener noreferrer"&gt;https://css-articles.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will be writing more in the future so make sure to &lt;a href="https://css-articles.com/feed.xml" rel="noopener noreferrer"&gt;subscribe to my RSS feed&lt;/a&gt; to not miss them.&lt;/p&gt;

&lt;p&gt;I also shared a lot of &lt;a href="https://css-tip.com/archive/?s=ribbon" rel="noopener noreferrer"&gt;CSS Tips around ribbon shapes&lt;/a&gt; so make sure to also subscribe &lt;a href="https://css-tip.com/feed/feed.xml" rel="noopener noreferrer"&gt;to the RSS feed of my CSS Tip website&lt;/a&gt;&lt;/p&gt;





&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/i-made-100-css-loaders-for-your-next-project-4eje" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I made 100 CSS loaders for your next project&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ May 12 '21&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#html&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/100-underline-overlay-animation-the-ultimate-css-collection-4p40" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;100 underline/overlay animations | The ultimate CSS collection 🥇&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ Mar 16 '21&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#codepen&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/i-created-100-unique-css-patterns-the-best-collection-31cl" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I created 100+ unique CSS patterns | The best collection 🤩&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ May 23 '23&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#showdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#codepen&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;





&lt;p&gt;&lt;a href="https://ko-fi.com/temani" rel="noopener noreferrer"&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%2Frz2vhrgmbr95qz7w1gi5.png" alt="buy me a coffee" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;OR&lt;/center&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.patreon.com/temani" rel="noopener noreferrer"&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%2Fdb3jtgy2i5l4w8slkps5.png" alt="Become a patron" width="499" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>showdev</category>
    </item>
    <item>
      <title>css-loaders.com: The Biggest Collection of Loading Animations (more than 500 🤯)</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Wed, 30 Aug 2023 09:36:53 +0000</pubDate>
      <link>https://dev.to/afif/css-loaderscom-the-biggest-collection-of-loading-animations-more-than-500--23jg</link>
      <guid>https://dev.to/afif/css-loaderscom-the-biggest-collection-of-loading-animations-more-than-500--23jg</guid>
      <description>&lt;p&gt;It's been a while but I finally did it. I collected all my CSS-only loaders into one unique place.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt;👉 &lt;a href="https://css-loaders.com/" rel="noopener noreferrer"&gt;css-loaders.com&lt;/a&gt; 👈 &lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;Around 580 loaders are made using only &lt;strong&gt;one&lt;/strong&gt; element! The HTML is as simple as &lt;code&gt;&amp;lt;div class="loader"&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt;. Nothing more!&lt;/p&gt;

&lt;p&gt;If you followed me, you probably know most of them but if you are new then go check what CSS can do. From the simple animations to the craziest ones, you will for sure find what you want. If you don't want any loaders, then simply enjoy some fancy CSS animations that are satisfying to watch.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;More than 500?! It's too much! I don't have time 😤&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;No problem, I have the solution! Use the following link and I will pick a nice loader for you&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;
&lt;a href="https://random.css-loaders.com/" rel="noopener noreferrer"&gt;random.css-loaders.com&lt;/a&gt;&lt;center&gt;
&lt;/center&gt;
&lt;/center&gt;
&lt;/h3&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;p&gt;If you don't like it, click on "get another CSS loader" and you will get another one. No need to navigate the whole website. Keep surprising yourself with random loaders until you get the perfect one. &lt;/p&gt;

&lt;p&gt;You also have a unique link for each generated loader. You can easily share your favorite one with anyone!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How to get the link of a loader I saw inside the collection and not using the random generator?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It's easy! Let's suppose you are browsing "The shapes" loaders here: &lt;a href="https://css-loaders.com/shapes/" rel="noopener noreferrer"&gt;https://css-loaders.com/shapes/&lt;/a&gt; and you liked the #20. The link will be: &lt;a href="https://css-loaders.com/shapes/#l20" rel="noopener noreferrer"&gt;https://css-loaders.com/shapes/#l20&lt;/a&gt; (it's a lowercase "L" not "I"). &lt;/p&gt;

&lt;p&gt;Share the link of your favorite one in the comment section 👇&lt;/p&gt;

&lt;p&gt;The random feature and the link sharing use the &lt;code&gt;:has()&lt;/code&gt; selector so it won't work well on Firefox for now. Consider another browser if you want to enjoy them.&lt;/p&gt;




&lt;p&gt;I also wrote a lot of articles about creating single-element loaders. Good tutorials if you want to know some of my secret recipes 🤫&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/afif/build-your-css-loader-with-only-one-div-the-dots-3882"&gt;Build your CSS loader with only one div — The Dots&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.freecodecamp.org/news/how-to-create-a-css-only-loader/" rel="noopener noreferrer"&gt;How to Create a CSS-Only Loader Using One Element&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://css-tricks.com/single-element-loaders-the-spinner" rel="noopener noreferrer"&gt;Single Element Loaders: The Spinner&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://css-tricks.com/single-element-loaders-the-dots/" rel="noopener noreferrer"&gt;Single Element Loaders: The Dots&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://css-tricks.com/single-element-loaders-the-bars/" rel="noopener noreferrer"&gt;Single Element Loaders: The Bars&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://css-tricks.com/single-element-loaders-going-3d/" rel="noopener noreferrer"&gt;Single Element Loaders: Going 3D!&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://verpex.com/blog/website-tips/how-to-create-a-css-only-loader-with-one-element" rel="noopener noreferrer"&gt;How to create a CSS-only loader with one element&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Subscribe to my &lt;a href="https://css-articles.com/feed.xml" rel="noopener noreferrer"&gt;RSS Feed&lt;/a&gt; if you don't want to miss my new CSS articles and don't forget to bookmark &lt;a href="https://css-loaders.com/" rel="noopener noreferrer"&gt;https://css-loaders.com/&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;I won't stop making CSS loaders. The goal is, one day, to reach 1000 single-element loaders! 💪 &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%2Ffawfcnl00tb4vxgx1ays.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%2Ffawfcnl00tb4vxgx1ays.gif" alt="Stay Tuned" width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://ko-fi.com/temani" rel="noopener noreferrer"&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%2Frz2vhrgmbr95qz7w1gi5.png" alt="buy me a coffee" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;OR&lt;/center&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.patreon.com/temani" rel="noopener noreferrer"&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%2Fdb3jtgy2i5l4w8slkps5.png" alt="Become a patron" width="499" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>html</category>
      <category>beginners</category>
    </item>
    <item>
      <title>What's your Lucky CSS Pattern? Check It Now!</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Tue, 20 Jun 2023 09:17:34 +0000</pubDate>
      <link>https://dev.to/afif/whats-your-lucky-css-pattern-check-it-now-1g18</link>
      <guid>https://dev.to/afif/whats-your-lucky-css-pattern-check-it-now-1g18</guid>
      <description>&lt;p&gt;You liked my &lt;a href="https://dev.to/afif/i-created-100-unique-css-patterns-the-best-collection-31cl"&gt;CSS Patterns collection&lt;/a&gt; but you are lost and you don't know which one to choose. Don't worry, I have the solution for you! &lt;/p&gt;

&lt;p&gt;One-click and you have the best CSS Pattern that matches your preference.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt; 👉 &lt;a href="https://random.css-pattern.com/" rel="noopener noreferrer"&gt;Get Your CSS Pattern&lt;/a&gt; 👈&lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;I have developed an advanced AI (better than ChatGPT) that will read your mind, scan your actual mood, find out the web projects you are working on, &lt;del&gt;check your bank account&lt;/del&gt;, then it will select &lt;strong&gt;THE CSS Pattern&lt;/strong&gt; you want with the perfect colors.&lt;/p&gt;

&lt;h3&gt;
  
  
  What are you waiting for? Get &lt;a href="https://random.css-pattern.com/" rel="noopener noreferrer"&gt;your CSS Pattern&lt;/a&gt; now!
&lt;/h3&gt;




&lt;p&gt;Yes, you already guess it. I will simply generate a random pattern from &lt;a href="https://css-pattern.com/" rel="noopener noreferrer"&gt;my collection&lt;/a&gt; but I need to make the article a bit lengthy and it's trending to talk about AI 🤪&lt;/p&gt;

&lt;p&gt;In addition to the pattern, you can easily adjust the colors, the size and get the code with one click.&lt;/p&gt;

&lt;p&gt;You can reload the page to generate a new one BUT the first pattern you get is your "Lucky CSS Pattern". Share yours in the comments section 👇. A CSS Pattern can tell a lot about its owner! &lt;/p&gt;





&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuploads%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/i-created-100-unique-css-patterns-the-best-collection-31cl" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I created 100+ unique CSS patterns | The best collection 🤩&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ May 23 '23&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#showdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#codepen&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuploads%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/i-made-100-css-loaders-for-your-next-project-4eje" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I made 100 CSS loaders for your next project&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ May 12 '21&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#html&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuploads%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/afif/100-underline-overlay-animation-the-ultimate-css-collection-4p40" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;100 underline/overlay animations | The ultimate CSS collection 🥇&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ Mar 16 '21&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#codepen&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>css</category>
    </item>
    <item>
      <title>I created 100+ unique CSS patterns | The best collection 🤩</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Tue, 23 May 2023 11:36:30 +0000</pubDate>
      <link>https://dev.to/afif/i-created-100-unique-css-patterns-the-best-collection-31cl</link>
      <guid>https://dev.to/afif/i-created-100-unique-css-patterns-the-best-collection-31cl</guid>
      <description>&lt;p&gt;After the &lt;a href="https://dev.to/afif/series/12889"&gt;CSS Loaders&lt;/a&gt; and the &lt;a href="https://dev.to/afif/series/12016"&gt;CSS Underline/Overlay animations&lt;/a&gt;, I am back with another big collection. This time it's about CSS Patterns.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt; 👉 &lt;a href="https://css-pattern.com/" rel="noopener noreferrer"&gt;CSS Pattern&lt;/a&gt; 👈  &lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;More than 100 unique CSS patterns coded from scratch by me (Yes, It took me a lot of time).&lt;/p&gt;

&lt;p&gt;All the patterns have the same code structure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;html&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="py"&gt;--s&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;50px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c"&gt;/* control the size */&lt;/span&gt;
  &lt;span class="py"&gt;--c1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;red&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="py"&gt;--c2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;blue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="c"&gt;/* more colors if needed */&lt;/span&gt;

  &lt;span class="c"&gt;/* A lot of gradients and strange numbers*/&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You have one variable to control the size and each color is defined once in the code. All you have to do is one click to copy/paste the code and adjust a few variables.&lt;/p&gt;

&lt;p&gt;Grab a nice pattern and show me the result on your favorite website 👇&lt;/p&gt;




&lt;p&gt;I will not list all the CSS patterns in this article but here are my Top 10&lt;/p&gt;

&lt;h3&gt;
  
  
  The Best
&lt;/h3&gt;

&lt;p&gt;I really like this one. Only 2 gradients are used and the result is quite satisfying, especially that little shadow.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The Impossible
&lt;/h3&gt;

&lt;p&gt;15 Gradients for this one! I thought it was an impossible one but after a lot of math and headaches, I did it.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The Accident
&lt;/h3&gt;

&lt;p&gt;I was trying to create a specific pattern, made a mistake in the calculation and I end with a better one. A nice accident!&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The Hexagon
&lt;/h3&gt;

&lt;p&gt;Everyone like Hexagons so I must have one in the Top 10&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The 3D
&lt;/h3&gt;

&lt;p&gt;I made a few 3D patterns but this one is really cool&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The Optical Illusion
&lt;/h3&gt;

&lt;p&gt;Are the lines straight? Don't trust your brain!&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The Challenging
&lt;/h3&gt;

&lt;p&gt;A lot of geometry tricks are used in this one. It was a good challenge.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The Wavy
&lt;/h3&gt;

&lt;p&gt;If you don't like hexagons, you must like waves.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The Perfect
&lt;/h3&gt;

&lt;p&gt;I am using this one on &lt;a href="https://css-tip.com/" rel="noopener noreferrer"&gt;CSS Tip&lt;/a&gt; and the result is perfect.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  The Christmas
&lt;/h3&gt;

&lt;p&gt;In case you have no idea of gifts for Christmas&lt;/p&gt;

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

&lt;p&gt;What about you? Tell me your favorite one 👇&lt;/p&gt;

&lt;p&gt;You can also generate a link for your favorite CSS pattern and share it with everyone. It's easy!&lt;/p&gt;

&lt;p&gt;Inspect the code of the pattern, grab its ID and get a unique link to share!&lt;/p&gt;

&lt;p&gt;My favorite one is "g48" 👉 &lt;a href="https://css-pattern.com/#g48" rel="noopener noreferrer"&gt;https://css-pattern.com/#g48&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Here are 2 beginner-friendly articles I wrote if you want to get started with some basic patterns:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.freecodecamp.org/news/css-radial-gradient/" rel="noopener noreferrer"&gt;Learn CSS radial-gradient by Building Background Patterns&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://verpex.com/blog/website-tips/how-to-create-background-pattern-using-css-conic-gradient" rel="noopener noreferrer"&gt;How to create background pattern using CSS &amp;amp; conic-gradient&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will have more articles in the future. I will reveal all the secrets of making complex CSS Patterns so stay tuned 👀&lt;/p&gt;

&lt;p&gt;The collection will keep growing in the future so don't forget to bookmark the site: &lt;a href="https://css-pattern.com" rel="noopener noreferrer"&gt;https://css-pattern.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All the code is in &lt;a href="https://github.com/Afif13/CSS-Pattern" rel="noopener noreferrer"&gt;Github&lt;/a&gt; so go click that ⭐ Star and let's make the project popular.&lt;/p&gt;




&lt;p&gt;&lt;a href="https://ko-fi.com/temani" rel="noopener noreferrer"&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%2Frz2vhrgmbr95qz7w1gi5.png" alt="buy me a coffee" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;OR&lt;/center&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.patreon.com/temani" rel="noopener noreferrer"&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%2Fdb3jtgy2i5l4w8slkps5.png" alt="Become a patron" width="499" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>css</category>
      <category>codepen</category>
    </item>
    <item>
      <title>What's your CSS level? Take a CSS Quiz!</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Mon, 15 May 2023 11:00:48 +0000</pubDate>
      <link>https://dev.to/afif/whats-your-css-level-take-a-css-quiz-5g9i</link>
      <guid>https://dev.to/afif/whats-your-css-level-take-a-css-quiz-5g9i</guid>
      <description>&lt;p&gt;Do you want to have some fun with CSS? What about some CSS Quizzes?&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;center&gt;👉 &lt;a href="https://css-challenges.com/quizzes/"&gt;CSS Quizzes&lt;/a&gt; 👈&lt;/center&gt;
&lt;/h2&gt;




&lt;p&gt;Selectors, Flexbox, Transform, Gradients... Pick your game! Can you get a perfect score? Show me your results 👇&lt;/p&gt;

&lt;p&gt;Except for &lt;a href="https://css-challenges.com/basic-css/"&gt;the Basic Quiz&lt;/a&gt;, all the others aren't easy. Only a few people got a perfect score after many tries! And the quiz is never the same when you try again so good luck! 😈&lt;/p&gt;

&lt;p&gt;Be the first to get a perfect score for a chance to win [insert price here]*. Don't forget to create an account so you can track your progress. &lt;/p&gt;

&lt;p&gt;What are you waiting for? Go take a quiz!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/kHZu4LDtvpY63RT1He/giphy-downsized.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/kHZu4LDtvpY63RT1He/giphy-downsized.gif" alt="Do it now" width="480" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;* I didn't decide about the price but don't expect money, it will probably be a simple "thank you for your effort"&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
    </item>
    <item>
      <title>CSS Tip: learn CSS the easy way!</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Fri, 14 Apr 2023 12:38:42 +0000</pubDate>
      <link>https://dev.to/playfulprogramming/css-tip-learn-css-the-easy-way-im4</link>
      <guid>https://dev.to/playfulprogramming/css-tip-learn-css-the-easy-way-im4</guid>
      <description>&lt;p&gt;Do you want to learn CSS? Are you lost in all the courses, tutorials, and online stuff? The code is too long, the explanation is too boring, and it never works!&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%2Fberthpcttz1qnkij50rn.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%2Fberthpcttz1qnkij50rn.gif" alt="simpson" width="220" height="122"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Don't worry! I have the solution for you:&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;center&gt;One minute to learn CSS 🤯&lt;/center&gt;
&lt;/h2&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%2Fzkkh8tcgtug7xilngmmt.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%2Fzkkh8tcgtug7xilngmmt.gif" alt="How ??" width="360" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You are probably thinking it's impossible but it's possible! Take one minute to learn one CSS Tip per day and ... that's all!&lt;/p&gt;

&lt;p&gt;I created &lt;strong&gt;THE&lt;/strong&gt; website for this 👉  &lt;a href="https://css-tip.com" rel="noopener noreferrer"&gt;css-tip.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CSS Tip is a micro-blog where I am sharing simple tips that you can read in less than one minute. Each tip comes with a demo so you can easily play with your discovery.&lt;/p&gt;

&lt;p&gt;What are you waiting for? Got check that website before everyone else! There are already more than 60 CSS Tips ready for you! To not miss the new Tips use the &lt;a href="https://css-tip.com/feed/feed.xml" rel="noopener noreferrer"&gt;RSS feed link&lt;/a&gt; with your favorite RSS reader.&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;Where to start? There are a lot of CSS tips, I am lost... &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I also have the solution for this! &lt;a href="https://random.css-tip.com/" rel="noopener noreferrer"&gt;Click this link&lt;/a&gt; and I will redirect you to the CSS Tip you need. I have developed an advanced AI that reads your mind, detects what you know and don't know about CSS, and gives you the next CSS tip you need to know.&lt;/p&gt;

&lt;p&gt;You don't trust me? You think it's fake? &lt;a href="https://random.css-tip.com/" rel="noopener noreferrer"&gt;Click&lt;/a&gt; and try!&lt;/p&gt;
&lt;h3&gt;
  
  
  &lt;center&gt;Learn CSS the easy way!&lt;/center&gt;
&lt;/h3&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%2F3gt17f6h0s1l3ap61p0a.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%2F3gt17f6h0s1l3ap61p0a.gif" alt="Wow" width="228" height="228"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;Let's be serious now and stop the "grifter-clickbait" introduction 🙃&lt;/p&gt;

&lt;p&gt;I have been sharing a lot of CSS Tips on &lt;a href="https://twitter.com/ChallengesCss" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt; (and I still do) so I decided to collect most them and have a kind of archive. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://css-tip.com" rel="noopener noreferrer"&gt;css-tip.com&lt;/a&gt; is born!&lt;/p&gt;

&lt;p&gt;A simple website, easy to navigate where you can find all kinds of CSS Tips. I also have an &lt;a href="https://css-tip.com/feed/feed.xml" rel="noopener noreferrer"&gt;RSS Feed&lt;/a&gt; so you can easily get the new CSS Tips.&lt;/p&gt;

&lt;p&gt;The website will keep growing so if you don't know where to start you can get a random tip using the following link: &lt;a href="https://random.css-tip.com/" rel="noopener noreferrer"&gt;random.css-tip.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Surprise yourself with a new CSS Tip!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The "one minute to learn CSS" was a lie??&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;No, it's true. All the tips are simple and short. You can read them in less than one minute. This said, I sometimes link to a relevant article to get more detail. You can get a tip in one minute but you will need more than that to grasp the logic of some concepts. There is no magic method to learn CSS fast. Even if you read a small tip per day you have to spend time trying the code, reading the doc, etc&lt;/p&gt;

&lt;p&gt;Go check my &lt;a href="https://css-articles.com/" rel="noopener noreferrer"&gt;CSS Articles&lt;/a&gt; if you want some deep diving into a few CSS concepts&lt;/p&gt;



&lt;p&gt;Do you know that I have a big collection of CSS loaders? 👀 &lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/afif" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F577896%2F343fde9f-609b-419b-95d1-07d16b320a37.png" alt="afif"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/afif/i-made-100-css-loaders-for-your-next-project-4eje" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;I made 100 CSS loaders for your next project&lt;/h2&gt;
      &lt;h3&gt;Temani Afif ・ May 12 '21&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#css&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#html&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;p&gt;DEV added new reaction icons so if you already liked my post go add some 🤯 🙌 🔥&lt;/p&gt;

&lt;p&gt;Stay tuned for another collection! Not about loaders but something even better 🤩&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>html</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Another CSS Art from Demon Slayer</title>
      <dc:creator>Temani Afif</dc:creator>
      <pubDate>Thu, 28 Apr 2022 12:28:11 +0000</pubDate>
      <link>https://dev.to/afif/another-css-art-from-demon-slayer-37pn</link>
      <guid>https://dev.to/afif/another-css-art-from-demon-slayer-37pn</guid>
      <description>&lt;p&gt;The last CSS Art I made was so real that he start talking! He was so nervous and screaming everywhere:&lt;/p&gt;

&lt;h3&gt;
  
  
  "Nezuko!! Where is Nezuko?!"
&lt;/h3&gt;




&lt;p&gt;Stay calm &lt;strong&gt;Tanjiro&lt;/strong&gt;, &lt;strong&gt;Nezuko&lt;/strong&gt; is here  👇&lt;/p&gt;

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

&lt;p&gt;Another CSS-Only illustration to be added to the list of my previous ones:&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;&lt;a href="http://css-only.art/" rel="noopener noreferrer"&gt;CSS Art&lt;/a&gt;&lt;/center&gt;
&lt;/h3&gt;




&lt;p&gt;It's on twitter if you want to spread the word 📣📣&lt;/p&gt;

&lt;p&gt;&lt;iframe class="tweet-embed" id="tweet-1519636083260424192-129" src="https://platform.twitter.com/embed/Tweet.html?id=1519636083260424192"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-1519636083260424192-129');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1519636083260424192&amp;amp;theme=dark"
  }



&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Tanjiro&lt;/strong&gt; : "Nezuko, let's go!"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Nezuko&lt;/strong&gt; : "Hum!!"&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%2Fyj388rkrkmrwmtwrptqr.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%2Fyj388rkrkmrwmtwrptqr.gif" alt="Nezuko and tanjiro" width="480" height="267"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://ko-fi.com/temani" rel="noopener noreferrer"&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%2Frz2vhrgmbr95qz7w1gi5.png" alt="buy me a coffee" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;center&gt;OR&lt;/center&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.patreon.com/temani" rel="noopener noreferrer"&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%2Fdb3jtgy2i5l4w8slkps5.png" alt="Become a patron" width="499" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>css</category>
      <category>html</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
