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😩😩😩😩

5th Jul 2020, 6:25 PM
Nafis Islam
Nafis Islam - avatar
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
5th Jul 2020, 7:32 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 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
5th Jul 2020, 7:23 PM
Raj Chhatrala
Raj Chhatrala - avatar
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....
5th Jul 2020, 7:33 PM
BroFar
BroFar - avatar