ngStyle. 我們通常可以用inline 的方式來設定樣式,也就是將css直接塞在html 的標籤內,像這樣: // homepage.component.html <h1 style="color: red">ngStyle</h1>.
確定! 回上一頁