Без тестового примера трудно судить...
Но вот это все похоже одинаковое
Сообщение от sovsem-nub
|
.slider2 input:nth-of-type(1):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(1) .info,
.slider2 input:nth-of-type(2):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(2) .info,
.slider2 input:nth-of-type(3):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(3) .info,
.slider2 input:nth-of-type(4):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(4) .info,
.slider2 input:nth-of-type(5):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(5) .info,
.slider2 input:nth-of-type(6):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(6) .info,
.slider2 input:nth-of-type(7):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(7) .info,
.slider2 input:nth-of-type(8):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(8) .info,
.slider2 input:nth-of-type(9):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(9) .info,
.slider2 input:nth-of-type(10):checked ~ .slides2 > .tk-museo-sans span:nth-of-type(10) .info {
bottom: 79px;
}
|
И его можно попробовать заменить на
.slider2 input:checked ~ .slides2 > .tk-museo-sans span.info{
bottom: 79px;
}
А это все разное.
Без тестового примера что-то другое не предложить...
Сообщение от sovsem-nub
|
.slider2 input:nth-of-type(1):checked ~ .slides2 > div > span { left: 5% }
.slider2 input:nth-of-type(2):checked ~ .slides2 > div > span { left: -5% }
.slider2 input:nth-of-type(3):checked ~ .slides2 > div > span { left: -15% }
.slider2 input:nth-of-type(4):checked ~ .slides2 > div > span { left: -25% }
.slider2 input:nth-of-type(5):checked ~ .slides2 > div > span { left: -35% }
.slider2 input:nth-of-type(6):checked ~ .slides2 > div > span { left: -45% }
.slider2 input:nth-of-type(7):checked ~ .slides2 > div > span { left: -55% }
.slider2 input:nth-of-type(8):checked ~ .slides2 > div > span { left: -65% }
.slider2 input:nth-of-type(9):checked ~ .slides2 > div > span { left: -75% }
.slider2 input:nth-of-type(10):checked ~ .slides2 > div > span { left: -85% }
|