css proferties throught ts code example Example: css proferties throught ts element.setAttribute("style", "color:red; border: 1px solid blue;");