I want to add a background around a part of my text to make it easy to read as my background image makes it hard and change the colour of my text is not highly desirable
Asked
Active
Viewed 52 times
-5
-
2can you post your code or else the screenshot of your work. I very difficult to understand your problem without clear explanation – Ram May 20 '17 at 10:40
-
http://stackoverflow.com/questions/4997493/set-opacity-of-background-image-without-affecting-child-elements – Przemek K. May 20 '17 at 10:51
-
I would add image but this site won't allow me – Dwayne Erasmus May 20 '17 at 10:57
-
And it allow me to add code either something about ctrl k but I doing everything from an Android device. – Dwayne Erasmus May 20 '17 at 10:59
1 Answers
0
Insert the following lines in your CSS:
background-image: url(img_flwr.gif);
opacity: 0.6;

Nuageux
- 1,668
- 1
- 17
- 29

Shubham Sharma
- 613
- 6
- 14