子组件加上margin超过父组件的情况 油条zhu 2023-11-28 51 阅读1分钟 结论:margin-bottom不会溢出父组件,margin-top会溢出父组件 1、margin-bottom 不会溢出到父组件外 2、margin-top 会溢出到父组件之外