27 lines
409 B
HTML
27 lines
409 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<style>
|
|
#content {
|
|
width: 200px;
|
|
height: 200px;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: green;
|
|
}
|
|
#clip {
|
|
width: 200px;
|
|
height: 200px;
|
|
border: 10px solid blue;
|
|
-webkit-clip-path: circle(50% at 50% 50%) content-box;
|
|
background-color: yellow;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="clip">
|
|
<div id="content"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|