1

Is it possible to hide all elements of an class which are not the same as the class. i tried the code below but its not working.

li.show *>:not(.show) {
 display: none !important;
}
  • http://jsfiddle.net/victor_007/e1s2qsw1/1/ ? – Vitorino fernandes Nov 06 '15 at 09:33
  • 1
    why not hide all `li` and explicitly show class `hello`? – Sinstein Nov 06 '15 at 09:36
  • It looks like https://jsfiddle.net/dfs30pjn/ – Jörn Matthes Nov 06 '15 at 09:50
  • The side is http://zweiundvierzig.de/klinikum/ It is at the bottom of the Screen. every code i tried caused that the whole jobblock is hidden. – Jörn Matthes Nov 06 '15 at 10:23