We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd8c403 commit 46dbe6fCopy full SHA for 46dbe6f
20190509/cssAbsoluteBody1.html
@@ -0,0 +1,23 @@
1
+<!doctype html>
2
+<html>
3
+<head>
4
+ <meta charset = "utf-8"/>
5
+ <meta name = "viewport" content = "width = device-width, initial-scale = 1"/>
6
+ <style>
7
+ * {padding:0; margin:0;}
8
+ .div0 {position:static; width:300px; height:100px; border:50px solid lightgray;}
9
+ .span1, .span2, .span4 {position:static;}
10
+ .div3 {position:absolute; left:0px; top:100px;}
11
+ .bdcolor {border:1px solid blue;}
12
+ </style>
13
+ <title>position(배치) 실습</title>
14
+</head>
15
+<body>
16
+ <div class="div0">
17
+ <span class="bdcolor span1">1</span>
18
+ <span class="bdcolor span2">2</span>
19
+ <div class="bdcolor div3">3</div>
20
+ <span class="bdcolor span4">4</span>
21
+ </div>
22
+</body>
23
+</html>
0 commit comments