1.margin-top 属性设置元素的上外边距。
注意:允许使用负值。
2.html 文件
p.topmargin {margin-top: 5cm} 这个段落没有指定外边距。 class="topmargin">这个段落带有指定的上外边距。
3. 效果图
来源: http://www.bubuko.com/infodetail-1968708.html