зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
309 B
HTML
17 строки
309 B
HTML
<!DOCTYPE HTML>
|
|
<title>Test for clipping of border-radius</title>
|
|
<style>
|
|
div {
|
|
overflow: hidden;
|
|
width: 200px;
|
|
height: 100px;
|
|
border-radius: 50px / 20px;
|
|
}
|
|
img {
|
|
border-radius: 20px / 40px;
|
|
width: 200px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<div><img src="../pixel-rounding/green-25x25.png" alt=""></div>
|