<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style>
* {
margin: 0;
padding: 0;
}
.header,.footer {
height: 100px;
background: #000;
color:mediumvioletred;
}
.main {
height: 400px;
background: #ccc;
}
.center {
height: 400px;
background: skyblue;
float: left;
width: 100%;
}
.left {
width: 300px;
height: 400px;
background: greenyellow;
float: left;
margin-left: -100%;
}
.right {
width: 300px;
height: 400px;
background: palevioletred;
float: left;
margin-left: -300px;
}
</style>
</head>
<body>
<header>header</header>
<div class="flex-box" >
<div class="left">@yield('left')</div>
<div class="center">@yield('text')</div>
<div class="right">@yield('right')</div>
</div>
<footer>footer</footer>
</body>
</html>
09-13
1235