html - Pure css selector for next visible siblings -


i have multiple td in tr. of tds visible , of hidden. want remove border first visible td. know using jquery can achieved easily. need pure css selector solution this. used adjacent(+) sibling , siblings (~), nothing helped me. please suggest possible solution. eg. need style first visible element after element class='test'

jquery: (jsfiddle)

 $(document).ready(function(){  $('td:hidden:first').next().css( "background-color", "green" ); }); 

:hidden jquery extension hidden columns. :first first hidden element. next() gets following sibling of each element in set of matched elements.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -