Use Clockwise Notation to Specify the Padding of an Element - zilongxuan001/LearnFreecode GitHub Wiki
可以按照顺时针的顺序,简写元素的内边距。
在CSS中的样式如下
<style>
padding: 40px 20px 20px 40px;
</style>
padding: 40px 20px 20px 40px;
意思是padding: 上边 右边 下边 左边
Basic CSS: Use Clockwise Notation to Specify the Padding of an Element | Learn freeCodeCamp
2018-9-29 17:41:20