頁面結構
Header
Header
意思
The top area of a page, usually holding the site title, navigation, theme controls, language controls, and menu button.
修改方向
Changing header padding, height, border, or position changes how tall and fixed the top area feels.
注意
A taller header can reduce the visible content area, especially on mobile.
相關 CSS
headerpaddingheightpositionborder-bottom請求範例
Make the mobile header title smaller while keeping the header height the same.