OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 dialog { | 5 dialog { |
6 height: 150px; | 6 height: 150px; |
7 width: 150px; | 7 width: 150px; |
8 } | 8 } |
9 | 9 |
| 10 ::backdrop { |
| 11 display: none; |
| 12 } |
| 13 |
10 #bottomDialog { | 14 #bottomDialog { |
11 background-color: yellow; | 15 background-color: yellow; |
12 top: 100px; | 16 top: 100px; |
13 z-index: 1000; | 17 z-index: 1000; |
14 } | 18 } |
15 | 19 |
16 #middleDialog { | 20 #middleDialog { |
17 background-color: blue; | 21 background-color: blue; |
18 top: 150px; | 22 top: 150px; |
19 left: 50px; | 23 left: 50px; |
(...skipping 30 matching lines...) Expand all Loading... |
50 <script> | 54 <script> |
51 document.getElementById('hiddenDialogChild').showModal(); | 55 document.getElementById('hiddenDialogChild').showModal(); |
52 document.getElementById('hiddenDialog').showModal(); | 56 document.getElementById('hiddenDialog').showModal(); |
53 document.getElementById('bottomDialog').showModal(); | 57 document.getElementById('bottomDialog').showModal(); |
54 document.getElementById('middleDialog').showModal(); | 58 document.getElementById('middleDialog').showModal(); |
55 document.getElementById('topDialog').showModal(); | 59 document.getElementById('topDialog').showModal(); |
56 document.getElementById('hiddenDialog').close(); | 60 document.getElementById('hiddenDialog').close(); |
57 </script> | 61 </script> |
58 </body> | 62 </body> |
59 </html> | 63 </html> |
OLD | NEW |