티스토리 뷰
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
<style>
.box {
width: 100px;
height: 100px;
position: absolute;
}
.box:nth-child(1) {
background-color: red;
left: 10px;
top: 10px;
}
.box:nth-child(3) {
background-color: green;
left: 50px;
top: 50px;
}
.box:nth-child(2) {
background-color: blue;
left: 90px;
top: 90px;
}
</style>
</head>
<body>
<div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
</div>
<h1>I'm your father</h1>
</body>
</html>
I'm your father
'java,web study > 5주차 (7월 29일~8월 4일)' 카테고리의 다른 글
Transition (0) | 2013.08.01 |
---|---|
Image Marker (0) | 2013.08.01 |
z-index 비슷한 예제 (0) | 2013.08.01 |
Background 단축 (0) | 2013.08.01 |
Gradiant (0) | 2013.08.01 |
댓글