> For the complete documentation index, see [llms.txt](https://mm.ricky.moe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mm.ricky.moe/css/css-basis.md).

# CSS基础

- [盒模型](https://mm.ricky.moe/css/css-basis/bfc.md)
- [清除浮动](https://mm.ricky.moe/css/css-basis/clear-float.md)
- [html5的语义化标签](https://mm.ricky.moe/css/css-basis/html5-semantic-tag.md)
- [水平居中](https://mm.ricky.moe/css/css-basis/horizontal-center.md)
- [垂直局中](https://mm.ricky.moe/css/css-basis/vertical-center.md)
- [水平垂直居中](https://mm.ricky.moe/css/css-basis/horizontal-vertical-center.md)
- [Sticky Footer](https://mm.ricky.moe/css/css-basis/sticky-footer.md)
- [三栏布局](https://mm.ricky.moe/css/css-basis/san-lan-bu-ju.md)
- [文本截断省略号](https://mm.ricky.moe/css/css-basis/wen-ben-jie-duan-sheng-lve-hao.md)
- [伪类与伪元素](https://mm.ricky.moe/css/css-basis/wei-lei-yu-wei-yuan-su.md)
- [定位](https://mm.ricky.moe/css/css-basis/ding-wei.md)
- [BEM](https://mm.ricky.moe/css/css-basis/bem.md)
- [主题切换](https://mm.ricky.moe/css/css-basis/zhu-ti-qie-huan.md)
- [权重](https://mm.ricky.moe/css/css-basis/quan-zhong.md)
- [px, em, rem](https://mm.ricky.moe/css/css-basis/px-em-rem.md)
- [flex 布局](https://mm.ricky.moe/css/css-basis/flex-bu-ju.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mm.ricky.moe/css/css-basis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
