@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Document</title>
+ <style>
+ .box1 {
+ width: 200px;
+ height: 200px;
+ background: #00f;
+ }
+ .box2 {
+ height: 300px;
+ background: #f00;
+ margin-left: 210px;
+ margin-top: -200px;
+ </style>
+</head>
+<body>
+ <div class="box1"></div>
+ <div class="box2"></div>
+</body>
+</html>
@@ -0,0 +1,26 @@
+ position: absolute;
+
+ background-color: #ff0;
+ float: left;
@@ -0,0 +1,28 @@
+ body {
+ display: flex;
+ flex: 1;