
CSS3 參考資料
|
291
background: #575859;
background: -webkit-gradient(linear, left top, left bottom,
from(#575859), to(#272425));
background: -webkit-linear-gradient(top, #575859, #272425);
background: -moz-linear-gradient(top, #575859, #272425);
background: linear-gradient(top, #575859, #272425);
}
#title h1 {
color: #ffffff;
text-shadow: 0 1px 1px #000000;
margin: 0 10px;
}
如果現在用瀏覽器預覽一下這張網頁,會看到最上面有個黑色的表頭,裡面顯示著應用
程式的名稱,如圖 C-1 所示。
圖 C-1 目前做好的 CSS 應用程式,表頭的背景色有運用漸層效果。