Is there a way to add background when using css3 multiple backgrounds images? -
i using css3 multiple backgrounds images. wonder if possible add top layer background pseudo-classes :hover or :active?
yes, possible have pseudo-classes work background. users uncomfortable user experience :hover or :active. 
you can apply css multiple div this:
.background1.background2{     background-image: url(background1.png), url(background2.png);     background-position: center, center;     background-repeat: no-repeat, no-repeat;     backgroun-size: 100%, 50% } or can apply css multiple div (depend how want image presented browser:
.background1{     background-image: url(background1.png);     background-position: center;     background-repeat: no-repeat;     background-size: 100%; }  .background2{     background-image: url(background2.png);     background-position: center;     background-repeat: no-repeat;     background-size: 50%; } if want change background randomly recommend using css3 animation or jquery change on refresh.
Comments
Post a Comment