How to set node and link properties using css

Hi,
how can i set node and link properties like stroke,fill,color,font,height,width etc using css in mydiagram. I just want to set these properties using css

You cannot do so directly. And you would only be able to set a few properties that happen to have CSS values on Shapes and TextBlocks. The rest of the properties that you might want to set when styling Diagrams can only be set in JavaScript.