1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <!DOCTYPE html>
- <!--
- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/
- -->
- <html>
- <head>
- <title>::first-letter with border-radius</title>
- <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1067088">
- <style>
- html,body { color:black; background-color:white; font-size:24px; }
- div { line-height:36px; }
- .b { background: blue; }
- .r100p { border-radius: 100%; }
- .r10p { border-radius: 10%; }
- .s1 { border:1px solid black; }
- .i { background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR%2FmAAAAAXNSR0IArs4c6QAAADpJREFUWMPtzgENAAAIA6Br%2F85aQzdIQGVyUCdaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpan1oLQKsBY3S7VU8AAAAASUVORK5CYII%3D); }
- .shadowi { box-shadow: inset 15px 9px 7px 0px #00F; }
- .shadowo { box-shadow: 0px 0px 7px 0px #00F;}
- .shadowio { box-shadow: inset 15px 9px 7px 0px #00F, 0px 0px 7px 0px #00F;}
- .bi {
- border: 5px solid red;
- border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD%2FgAIDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAoUlEQVR42u3bwQ0AIAgEwcOmtXttgScmsxWQCTyp3EysJo61IliwYMGCBUuwYMGCBQuWYMGCBQsWLMGCBQsWLFiCBQsWLFiwBAsWLFiwYAkWLFiwYMESLFiwYMGCpXaVka%2BsO8dmOUNYggULFixYsAQLFixYsGAJFixYsGDBEixYsGDBgiVYsGDBggVLsGDBggULlmDBggULFizBggUL1t89N%2FYEtBGStpoAAAAASUVORK5CYII%3D) 10 10 repeat;
- background: pink;
- border-image-outset: 7px 3px 5px 9px;
- }
- </style>
- </head>
- <body>
- <table cellpadding="10"><tr><td>
- <div><span class="b r100p">F</span>irst-letter</div>
- <div><span class="b r10p">F</span>irst-letter</div>
- <div><span class="b s1 r100p">F</span>irst-letter</div>
- <div><span class="b s1 r10p">F</span>irst-letter</div>
- <div><span class="shadowo r100p">F</span>irst-letter</div>
- <div><span class="shadowo s1 r10p">F</span>irst-letter</div>
- <div><span class="shadowi s1 r100p">F</span>irst-letter</div>
- <div><span class="shadowi r10p">F</span>irst-letter</div>
- <div><span class="shadowio r100p">F</span>irst-letter</div>
- <div><span class="shadowio s1 r10p">F</span>irst-letter</div>
- <div><span class="s1 r100p">F</span>irst-letter</div>
- <div><span class="s1 r10p">F</span>irst-letter</div>
- <div><span class="i r100p">F</span>irst-letter</div>
- <div><span class="i r10p">F</span>irst-letter</div>
- <div><span class="i s1 r100p">F</span>irst-letter</div>
- <div><span class="i s1 r10p">F</span>irst-letter</div>
- <div><span class="bi">F</span>irst-letter</div>
- </td>
- <td>
- <div><span class="b r100p">F</span>irst-letter</div>
- <div><span class="b r10p">F</span>irst-letter</div>
- <div><span class="b s1 r100p">F</span>irst-letter</div>
- <div><span class="b s1 r10p">F</span>irst-letter</div>
- <div><span class="shadowo r100p">F</span>irst-letter</div>
- <div><span class="shadowo s1 r10p">F</span>irst-letter</div>
- <div><span class="shadowi s1 r100p">F</span>irst-letter</div>
- <div><span class="shadowi r10p">F</span>irst-letter</div>
- <div><span class="shadowio r100p">F</span>irst-letter</div>
- <div><span class="shadowio s1 r10p">F</span>irst-letter</div>
- <div><span class="s1 r100p">F</span>irst-letter</div>
- <div><span class="s1 r10p">F</span>irst-letter</div>
- <div><span class="i r100p">F</span>irst-letter</div>
- <div><span class="i r10p">F</span>irst-letter</div>
- <div><span class="i s1 r100p">F</span>irst-letter</div>
- <div><span class="i s1 r10p">F</span>irst-letter</div>
- <div><span class="bi">F</span>irst-letter</div>
- </td>
- </tr></table>
- </body>
- </html>
|