我知道這是一個菜鳥問題,但爲什麼不是我的字體顏色改變?字體顏色不變
我的HTML:
<h1 class="InternetTitle">Internet Services</h1>
我的CSS:
.InternetTitle {
color: 2777fd;
text-align: center;
}
它垂直對齊我的文字,但它不會改變我的顏色。我無法弄清楚爲什麼。
我也試過:
<h1>Internet Services</h1>
h1 {
color: 2777fd;
text-align: center;
}
http://stackoverflow.com/documentation/css/644/colors/2100/hexadecimal-value#t=201607221910443786012 – Aziz