summaryrefslogtreecommitdiff
path: root/Base/res/html/misc/border-radius.html
diff options
context:
space:
mode:
Diffstat (limited to 'Base/res/html/misc/border-radius.html')
-rw-r--r--Base/res/html/misc/border-radius.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/Base/res/html/misc/border-radius.html b/Base/res/html/misc/border-radius.html
index dc58a51f6c..1ca83060a5 100644
--- a/Base/res/html/misc/border-radius.html
+++ b/Base/res/html/misc/border-radius.html
@@ -362,6 +362,18 @@
<br/>
<br/>
+ <p>These test the inner border-radius shrinking to accommodate the border</p>
+ <em>An <code>&lt;img&gt;</code> tag with a border-radius and a border</em>
+ <br>
+ <img src="car.png" style="border-radius: 100%; border: 10px solid limegreen;">
+ <br/>
+ <em>Clipping text overflow with a border-radius and a border</em>
+ <div style="width: 100px; height: 100px; border-radius: 30%; background-color: cyan; overflow: hidden; border: 20px solid salmon;">
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+ </div>
+ <br/>
+ <br/>
+
<p>The boxes are 50x50px</p>
<em>All round 10px</em>
<div class="box box-1"></div>
@@ -400,7 +412,6 @@
<div class="box box-5"></div>
<br>
<br>
-
<p>200px box, 75px radius</p>
<div class="box box-6"></div>
<br>