0

Hello i want to add some CSS3 filters on a background image but the effects take place on the text too not just the background image.

Here is the css code

  <div style="color:whitesmoke;
                background-image:url(wall_icons/uploadMedia.png); 
  background-size:contain;-webkit-filter:grayscale(1.7);
  filter: brightness(0.2);
-webkit-filter: brightness(0.2);
-moz-filter: brightness(0.2);
-o-filter: brightness(0.2);
-ms-filter: brightness(0.2);
   background-repeat:no-repeat"> <small style="font-size: 3vmin;">Text.Text.Text.Text.Text.Text.</small> </b> </div> 
2
Contributors
1
Reply
15
Views
3 Months
Discussion Span
Last Post by diafol
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.