diff --git a/Base/res/html/misc/border-radius.html b/Base/res/html/misc/border-radius.html index 9cea43b6fc..002a1a1541 100644 --- a/Base/res/html/misc/border-radius.html +++ b/Base/res/html/misc/border-radius.html @@ -139,6 +139,39 @@ border: 1px solid black; border-radius: 500px; } + + .rect { + width: 300px; + height: 100px; + background-color: red; + } + + .rect-1 { + border-radius: 50%; + } + + .rect-2 { + border-radius: 50% 20% / 10% 40%; + width: 280px; + height: 215px; + background-color: #5b6dcd; + } + + .rect-3 { + border-top-left-radius: 50%; + } + + .rect-4 { + border-top-right-radius: 50%; + } + + .rect-5 { + border-bottom-left-radius: 50%; + } + + .rect-6 { + border-bottom-right-radius: 50%; + } @@ -174,6 +207,27 @@

+

These boxes have elliptical borders

+ All round 50% +
+
+ All round -- MDN example +
+
+ top-left 50% +
+
+ top-right 50% +
+
+ bottom-left 50% +
+
+ bottom-right 50% +
+
+
+

The boxes are 50x50px

All round 10px