위치:상대적; 속성을 사용하면 일반 위치를 기준으로 요소를 배치할 수 있습니다. 다음 코드를 실행하여 CSS 위치를 구현할 수 있습니다. relative;
예시
<!DOCTYPE html>
<html>
<head>
<style>
div {
position: relative;
left: 20px;
border: 3px solid blue;
}
</style>
</head>
<body>
<h1>Positioning Element</h1>
<div>
div element with position: relative;
</div>
</body>
</html> 출력
