How can i repeat a background img which is in a pseudo selector.....? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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