About variable CSS in a JS{}

So now i'm able to deal with nice CSS...

But I don't really understand why / when we do have to write this this way :

var css = ' '
/* whatever */
return css

and some other times :

var css = '/* whatever */ '
return css

I tried a few things... had to believe that it was related to :host vs .item CSS definition... or because we were dealing with conditionnal statement after this... but, that's not clear...

I'm going forward step by step into that deep deep web-azonian jungle...

So any precision would really help me to understand why i did all that i did the way i did it.... :smiley: :smiley:

The only difference between the two snippet is that in the first one the variable named css is initialized as an empty string (to be filled later I assume) whereas in the second it's not empty. These are things you can do in javascript, nothing specific to o-s-c here.

Ok, thank you.