mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:57:45 +00:00
Base: Example of border-radius on iframe and canvas elements
This commit is contained in:
parent
304e0966aa
commit
b6f2ba6917
1 changed files with 15 additions and 0 deletions
|
@ -332,6 +332,21 @@
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
<p>All these are non-conventional elements with a border-radius :^)<p>
|
||||||
|
<em>iframe to the welcome page</em>
|
||||||
|
<br>
|
||||||
|
<iframe style="border-radius: 50%; border: none; width: 300px; height: 200px;" src="welcome.html"></iframe>
|
||||||
|
<br>
|
||||||
|
<em>Fun canvas demo</em>
|
||||||
|
<br>
|
||||||
|
<canvas id="fun-canvas" style="border-radius: 30%;" width="200" height="200"></canvas>
|
||||||
|
<script src="fun-canvas.js"></script>
|
||||||
|
<script>
|
||||||
|
makeFunCanvas("fun-canvas")
|
||||||
|
</script>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
<p>The boxes are 50x50px</p>
|
<p>The boxes are 50x50px</p>
|
||||||
<em>All round 10px</em>
|
<em>All round 10px</em>
|
||||||
<div class="box box-1"></div>
|
<div class="box box-1"></div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue