是否有一种方法可以使元素在固定宽度父级内变为全宽?
所以文档如下布局:
_____________________o- body
| _______________ |
| | o------ first
| | limited | |
|__|_______________|__|
| o----- second
| full-width |
|_____________________|
| | | |
| |_______________o------ first
|_____________________|
,其中
body > first {
max-width: 400px;
}
body > first > second
怎样才能成为全宽?