0
How can i repeat a background img which is in a pseudo selector.....?
I put a background img in to my site in "before pseudo selector " to change the opacity. But now i cant repeat it ti my site. Anyone can help me😩😩😩😩
3 Antworten
+ 9
Nafis Islam
If you need help, you can post the code you're struggling with 😉
• https://www.sololearn.com/post/75089/?ref=app
+ 4
I don't have clear idea of whtz you're asking, but basic way to repeat background image is using background-repeat: repeat;
If you want better solution, please link your code
0
Nafis Islam
header:before { content: ""; background: url(img/about/Capture.png) , url(img/about/Capture.png) no-repeat ; }
On pseudo element you need to set the ' content: "" attribute ' for them to work.
You can change the direction with repeat-x or repeat-y;
The above will only no-repeat example will let you use 2 images....