<?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: Giordanidis</title>
    <description>The latest articles on DEV Community by Giordanidis (@giordanidis).</description>
    <link>https://dev.to/giordanidis</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%2F363154%2F54fc5b2e-9b31-4a56-bfc3-774ff4cc4b87.png</url>
      <title>DEV Community: Giordanidis</title>
      <link>https://dev.to/giordanidis</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/giordanidis"/>
    <language>en</language>
    <item>
      <title>Why CSS animation (rotate) does not work in iOS 15.4</title>
      <dc:creator>Giordanidis</dc:creator>
      <pubDate>Fri, 29 Apr 2022 17:58:34 +0000</pubDate>
      <link>https://dev.to/giordanidis/why-css-animation-rotate-does-not-work-in-ios-154-2ce7</link>
      <guid>https://dev.to/giordanidis/why-css-animation-rotate-does-not-work-in-ios-154-2ce7</guid>
      <description>&lt;p&gt;I have an SVG icon and I have applied some CSS animation (rotation) to it, using inline CSS inside the SVG file (at the end of the post you can see my code in CodePen).&lt;/p&gt;

&lt;p&gt;My problem is that, although the animation works as expected in desktop and in my Android mobile phone, it doesn't work in some iPhones.&lt;/p&gt;

&lt;p&gt;For example, I saw it doesn't work in iPhone 11 if it's updated to iOS 15.4 but it works if it's in version 15.3. Also I tried with an iPad which was in 15.3 and it worked, and after the update to 15.4 it stopped working.&lt;/p&gt;

&lt;p&gt;Am I missing anything here, or it's just a bug of iOS 15.4?&lt;/p&gt;

&lt;p&gt;I appreciate your help!&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;EDIT: I've just realized that it works as expected when I visit directly the link to where I have uploaded the SVG image. I mean, If I have uploaded the SVG image to &lt;code&gt;example.com/path-to-icon.svg&lt;/code&gt; I can see it rotating as expected.&lt;/p&gt;

&lt;p&gt;However, when I am trying to use it like an image, it does not work. I mean, If I use &lt;code&gt;&amp;lt;img src="example.com/path-to-icon.svg"&amp;gt;&lt;/code&gt; it does not work... &lt;/p&gt;

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

</description>
      <category>html</category>
      <category>css</category>
      <category>svg</category>
      <category>ios</category>
    </item>
    <item>
      <title>How to combine animation and mask effect using a specific SVG image</title>
      <dc:creator>Giordanidis</dc:creator>
      <pubDate>Sun, 17 Apr 2022 12:40:36 +0000</pubDate>
      <link>https://dev.to/giordanidis/how-to-combine-animation-and-mask-effect-using-a-specific-svg-image-5fjk</link>
      <guid>https://dev.to/giordanidis/how-to-combine-animation-and-mask-effect-using-a-specific-svg-image-5fjk</guid>
      <description>&lt;p&gt;I have an image with an overlay background color which has some opacity, and I want to create a "hole" effect on this image.&lt;/p&gt;

&lt;p&gt;I want the "hole" to be a specific SVG image that I have, and I want this image to rotate.&lt;/p&gt;

&lt;p&gt;I have created 2 examples in Codepen to help you understand what I want:&lt;/p&gt;

&lt;p&gt;1) Hole effect without animation: &lt;a href="https://codepen.io/Giordanidis/pen/qBpQGVd"&gt;https://codepen.io/Giordanidis/pen/qBpQGVd&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2) Hole effect with animation (but without the "hole"): &lt;a href="https://codepen.io/Giordanidis/pen/OJzaYZz"&gt;https://codepen.io/Giordanidis/pen/OJzaYZz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the 1st example, you can see the background image, the background (black) color which has a 75% opacity, and also the SVG image (the heart icon) which acts like a "hole" and you can actually see "behind" the black color. What is missing here is the animation part that you can see in the 2nd example.&lt;/p&gt;

&lt;p&gt;In the 2nd example, you can also see the background image and the background color, and also the SVG image, without the "hole" effect, but with the animation (rotation) I want.&lt;/p&gt;

&lt;p&gt;My problem is that I cannot combine these two. As already mentioned I just want to somehow add the rotating animation (which you can see in the 2nd example) to the 1st example.&lt;/p&gt;

&lt;p&gt;Is there any way I can do it with CSS or JS?&lt;/p&gt;

&lt;p&gt;I appreciate your help! Thanks in advance!&lt;/p&gt;

</description>
      <category>html</category>
      <category>css</category>
      <category>help</category>
    </item>
  </channel>
</rss>
