зеркало из https://github.com/mozilla/pjs.git
20 строки
359 B
HTML
20 строки
359 B
HTML
<!doctype html>
|
|
<html><head>
|
|
<title>Border clipping</title>
|
|
<style>
|
|
.div1 { width: 50px; height: 50px;
|
|
border: 10px solid black;
|
|
-moz-border-radius: 20px;
|
|
position: absolute;
|
|
background: black;
|
|
left: 50px;
|
|
top: 50px;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="div1"></div>
|
|
</body></html>
|