<!doctype html>
<html>
<head>
<title></title>
</head>
<body>
<nav><ul class='container'>
<li><a href='#'>Home</a></li>
<li><a href='#'>Categories</a></li>
<li><a href='#'>How to Play</a></li>
<li><a href='#'>Contact</a></li>
</ul></nav>
<article id="showcase">
<h1>Hello</h1>
</article>
</body>
</html>
怎么了? <h1>
的 margin 似乎在拉动其父级 article
也下来了。
最佳答案
关于html - Top Margin 也会拉下父级,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11843532/