Make any particular color transparent with CSS Filters

CSSWeb DevelopmentFront End Technology

To make any particular color transparent, use Chroma Filter. You can use it with scrollbars also.

The following parameter can be used in this filter

Parameter
Description
Color
The color that you'd like to be transparent.

Implementing the CSS Chroma Filter −

Live Demo

<html>
   <head>
   </head>
   <body>
      <img src="/images/css.gif" alt="CSS Logo" style="Filter: Chroma(Color = #FFFFFF)">
      <p>Text Example:</p>
      <div style="width: 580;
         height: 50;
         font-size: 30pt;
         font-family: Arial Black;
         color: #3300FF;
         Filter: Chroma(Color = #3300FF)">CSS Tutorials</div>
   </body>
</html>
raja
Published on 27-Apr-2018 06:47:00
Advertisements