📜  如何在 css 中使 div 响应 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:07.981000             🧑  作者: Mango

代码示例1
Use %.
% takes the x% space of the parent element.
example:
This div will have the same width as the body, which is usually the whole page.