<?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: SYAUQIZAIDAN KHAIRAN KHALAF</title>
    <description>The latest articles on DEV Community by SYAUQIZAIDAN KHAIRAN KHALAF (@syaufy).</description>
    <link>https://dev.to/syaufy</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%2F324790%2F1b77bb94-f6d7-4704-bf3e-85aff0b33017.png</url>
      <title>DEV Community: SYAUQIZAIDAN KHAIRAN KHALAF</title>
      <link>https://dev.to/syaufy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/syaufy"/>
    <language>en</language>
    <item>
      <title>Emoji Bug in Heading Tags or Wherever The Emoji Has 500+ Font Weight 🤔</title>
      <dc:creator>SYAUQIZAIDAN KHAIRAN KHALAF</dc:creator>
      <pubDate>Tue, 07 Dec 2021 12:15:58 +0000</pubDate>
      <link>https://dev.to/syaufy/emoji-bug-in-heading-tags-or-wherever-the-emoji-has-500-font-weight-533n</link>
      <guid>https://dev.to/syaufy/emoji-bug-in-heading-tags-or-wherever-the-emoji-has-500-font-weight-533n</guid>
      <description>&lt;p&gt;Well, well, well&lt;/p&gt;

&lt;p&gt;Have you realized it? This started 2/3 weeks ago when I created a landing page for my app. I noticed that the emoji on my landing page suddenly turned black and white. I searched for a solution for several hours and realized that the emojis in the [p] tags are still the same but the heading [h1], [h2], [h3] tags and tags that have a font-weight class that has a value of 500 and above will create emojis are black and white.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;❎ Bugged emoji because the bold font weight 👇🏻&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvhdcvutacfd7t3tvbgck.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvhdcvutacfd7t3tvbgck.png" alt="Emoji bugged because the bold font weight" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;✅ I try to change the font-weight to 400 and it works and the emoji has a color now&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fctyfpbyssxfsn111xevr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fctyfpbyssxfsn111xevr.png" alt="I try to change the font-weight to 400 and it works and the emoji has a color now" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;But how to get emoji color without losing the tags font weight? 🤔&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Well you can go use span between the emojis and make write the inline style to make the span has a 400 font weight
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy12zqr3grmh75m4fbix1.png" alt="Well you can go use span between the emojis and make write the inline style to make the span has a 400 font weight
" width="800" height="449"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Have you experienced it too? or is it just me experiencing it? Let me know in the comments 👇🏻&lt;/p&gt;

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