twenty ten的選單功能很有趣,可以用很簡單的code就設定在預定的網頁header圖像的任何地方。
打開style.css
加入
#header #access{top: -200px; position: relative;}
menu就會去了圖片上方,但還在圖片入面的。
#header #access{top: -37px;position: relative;} 用這一條呢就會去了圖像下面
想為menu的背景加入透明效果,就輸入以下的code
#access {/* fallback for web browsers that doesn’t support RGBa */
background: rgb(0, 0, 0) !important;/* RGBa with 0.70 opacity */
background: rgba(0, 0, 0, 0.70)!important;}
之後呢,如果有興趣可以改一下code,效果很百變,當然要有少少css常識。