How to add css to specific blocks or view with CSS injector module? How to add css to specific blocks or view with CSS injector module?

I can add css to specific pages, but what about blocks, views and all sorts of other nodes?
I am try already this but i think it would be helpfull

Use php section to add css against any view or block
and try this one 

&lt;?php
if ( $block-&gt;module == 'your_block_id/name'){
          //add some code here
}
?&gt;


Or can do it by add a class in view or block