<?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: Dudu</title>
    <description>The latest articles on DEV Community by Dudu (@eduardoromeu).</description>
    <link>https://dev.to/eduardoromeu</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%2F808379%2Fbcb56db0-12c0-4ded-9150-f0e4c0d68804.png</url>
      <title>DEV Community: Dudu</title>
      <link>https://dev.to/eduardoromeu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eduardoromeu"/>
    <language>en</language>
    <item>
      <title>How to invert color with bootstrap 5.2</title>
      <dc:creator>Dudu</dc:creator>
      <pubDate>Wed, 02 Nov 2022 22:41:07 +0000</pubDate>
      <link>https://dev.to/eduardoromeu/how-to-invert-color-with-bootstrap-52-a78</link>
      <guid>https://dev.to/eduardoromeu/how-to-invert-color-with-bootstrap-52-a78</guid>
      <description>&lt;p&gt;Just use the &lt;code&gt;.btn-close-white&lt;/code&gt; class in the component that you want to invert the color.&lt;/p&gt;

&lt;p&gt;Bootstrap's docs says that "This class uses the filter property to invert the background-image".&lt;/p&gt;

&lt;p&gt;Note that it also adds two more filters, grayscale and brightness, so it may be not suitable in all cases.&lt;/p&gt;

&lt;h5&gt;
  
  
  SASS
&lt;/h5&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Source: &lt;a href="https://getbootstrap.com/docs/5.2/components/close-button/#white-variant"&gt;https://getbootstrap.com/docs/5.2/components/close-button/#white-variant&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>html</category>
      <category>bootstrap</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
