0

With this code I am putting an icon that has a transparent part in its center, I would like to paint it white.

enter image description here

With this code I am putting an icon that has a transparent part in its center, I would like to paint it white. Is there a way to paint it in a color so it doesn't look transparent?

  <body style="background:red">
      <i class="fas fa-times-circle fa-2x"></i>
  </body>

this is my live code:

http://plnkr.co/edit/BcLJQz59ACP5P5tY

yavg
  • 2,761
  • 7
  • 45
  • 115
  • I know how to change the color, `color: blue` but I don't know how to paint the center of the icon, it appears transparent – yavg Sep 02 '20 at 00:48
  • 1
    read the duplicate *fully* not only the title without clicking on the link ... – Temani Afif Sep 02 '20 at 00:49
  • @TemaniAfif you are absolutely right, excuse me I thought you just closed my question, I had not seen that you put a link. lesson learned, you are very kind. – yavg Sep 02 '20 at 01:03

0 Answers0