diff --git a/index.html b/index.html index 0f7d384..cd0c941 100644 --- a/index.html +++ b/index.html @@ -7,19 +7,14 @@ -
-
- box1 -
-
- box2 -
-
- box4 -
-
추가햇다 이부분
- +
+
+ box1 +
+ box2 +
+
- + \ No newline at end of file diff --git a/style.css b/style.css index 8c5e1df..801ddb7 100644 --- a/style.css +++ b/style.css @@ -1,23 +1,25 @@ -.m-box { - border: 1px solid red; - width: 100%; - height: 100vh; +.main { display: flex; - + justify-content: center; } -.s-box { +.box { width: 100px; - height: 100px; - background-color: gray; + height: 100px; + background-color: purple; + color: white; } -.s-box-th { - position: absolute; - right: 7px; +.box-big { + width: 200px; + height: 200px; + background-color: black; + color: white; + position: relative } -.s-box-se { +.box-position { position: absolute; - right: 117px; + left: 50px; + top: 50px; } \ No newline at end of file