0

Site: http://www.procolorchile.cl/

I neet to put every image fixed (after the 1st) whit the logo

This is the class but nothing is working

.fullfondo {
  height: 100vh; 
  background-repeat: no-repeat; 
  background-attachment: fixed; 
  background-position: center;
}
Jorge Roa
  • 1
  • 1
  • 1
    https://stackoverflow.com/questions/26372127/background-fixed-no-repeat-not-working-on-mobile https://stackoverflow.com/questions/23236158/how-to-replicate-background-attachment-fixed-on-ios – ptts Feb 18 '19 at 19:31

1 Answers1

0

Use css :nth-child(n+2)

.fullfondo:nth-child(n+2) {
  height: 100vh; 
  background-repeat: no-repeat; 
  background-attachment: fixed; 
  background-position: center;  
}
  • dont work .fullfondo:nth-child(n+1) { height: 100vh; background-repeat: no-repeat; background-attachment: fixed; background-position: center; } .fullfondo:nth-child(n+2) { height: 100vh; background-repeat: no-repeat; background-attachment: fixed; background-position: center; } – Jorge Roa Feb 19 '19 at 17:44