JSFiddle - React, Tailwind, and code Playground
by jwpg018241
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
html,
body {
height: 100%;
margin: 0;
}
body {
font-family: Monaco;
font-size: 12px;
color: rgba(0, 0, 0, .7);
}
svg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<!-- 기본 이미지 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="100%" height="100%" fill="#E7E7E8" />
<image id="image" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="jwpg.shop/img/text-1-1.png" width="100%" height="100%" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<clipPath id="myClipPath">
<path id="bbb" x="50%" y="50%" d="M505.87,539.67v1.5c-1.43,4-2.84,7.92-4.3,11.86-9.7,26.19-23.42,50.15-40,72.53-8.78,11.83-17.79,23.41-29,33.07-16.82,14.44-36,20-57.65,14.55a151.56,151.56,0,0,1-24.48-8.82c-26.82-11.89-53.71-12.6-80.93-1.67-8.3,3.33-16.53,6.93-25,9.7-14.49,4.73-29,5.08-43.17-1.6a77.27,77.27,0,0,1-22.8-16.68,313.64,313.64,0,0,1-48.7-65.94c-22.6-41-35.83-84.92-38.75-131.79-1.51-24.15.42-47.95,7.63-71.13,9.2-29.54,25.13-54.63,50.79-72.44C180.14,291.49,213.58,283.92,250,296c11.24,3.72,22.2,8.26,33.24,12.57,11.61,4.54,23.17,5.11,34.89.4,7.22-2.91,14.58-5.47,21.81-8.37,23-9.22,46.5-14.12,71.47-10.29,26.07,4,48.92,14.26,67.64,33,4.94,4.95,9.26,10.54,13.93,15.92-4.26,3.13-8.14,5.7-11.7,8.65-36.71,30.41-50.56,69.11-40.59,115.69,6.06,28.31,22.83,49.77,46.52,65.87C493,533.41,499.62,536.29,505.87,539.67Z"/>
<!-- 이 circle 바깥쪽에 있는 건 클립되서 안 보임!! -->
</clipPath>
</defs>
<g clip-path="url(#myClipPath)">
<rect...