-2
웹 개발자에게는 매우 익숙합니다. 내가 뭘하고 있는지 모를 경우 미리 사과드립니다. 이 유형의 경계를 이미지 주위에두고 자 노력하지만 특정 코너에서이를 수행 할 수는 없습니다. 어떤 아이디어? check the link please cannot embed images into this post이미지 주위에 매우 특정한 모양으로 테두리 스타일을 지정합니다.
웹 개발자에게는 매우 익숙합니다. 내가 뭘하고 있는지 모를 경우 미리 사과드립니다. 이 유형의 경계를 이미지 주위에두고 자 노력하지만 특정 코너에서이를 수행 할 수는 없습니다. 어떤 아이디어? check the link please cannot embed images into this post이미지 주위에 매우 특정한 모양으로 테두리 스타일을 지정합니다.
두 개의 블록이 있습니다. 당신은
.bg
{
width: 120px;
height: 120px;
border: solid green;
}
.image
{
position: relative;
top: 30px;
left: 30px;
width: 100px;
height: 100px;
background-color: red;
}
<html>
<head>
</head>
<body>
<div class="bg">
<div class="image">
</div>
</div>
</body>
</html>