页面结构
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.