component.html make an element and sets its class using ngStyle directive; Serve the angular app using ng serve to see the output. Example 1:.
確定! 回上一頁