sifilis Posted May 25, 2013 Report Share Posted May 25, 2013 Здравствуйте. Вопрос.Есть структура вида:<section> <div> блаблабла </div></section>Как на css записать уменьшение у section css-свойства left на 100 пикселей по клику на дочерний div через transition? Quote Link to comment Share on other sites More sharing options...
0 klierik Posted May 25, 2013 Report Share Posted May 25, 2013 никак.можно варьировать свойствами дочерних селекторов, но нельзя обращатся к родительским.тут только через JS (например jQuery + .click()) Quote Link to comment Share on other sites More sharing options...
0 sifilis Posted May 25, 2013 Author Report Share Posted May 25, 2013 Печалька. Спасибо за отклик на мою проблему. Quote Link to comment Share on other sites More sharing options...
Question
sifilis
Здравствуйте. Вопрос.
Есть структура вида:
Как на css записать уменьшение у section css-свойства left на 100 пикселей по клику на дочерний div через transition?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.