差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| arcade-games:96_flag_rally [2025/01/06 03:02] – wyrover | arcade-games:96_flag_rally [2025/01/06 04:50] (当前版本) – wyrover | ||
|---|---|---|---|
| 行 2: | 行 2: | ||
| < | < | ||
| - | <iframe | + | <style> |
| + | .container { | ||
| + | position: relative; | ||
| + | width: 600px; | ||
| + | height: 450px; | ||
| + | } | ||
| + | .image { | ||
| + | width: 100%; | ||
| + | height: 100%; | ||
| + | } | ||
| + | .play-button { | ||
| + | position: absolute; | ||
| + | bottom: 20%; | ||
| + | left: 50%; | ||
| + | transform: translate(-50%, | ||
| + | background-color: | ||
| + | color: white; | ||
| + | border: none; | ||
| + | padding: 20px 180px; | ||
| + | cursor: pointer; | ||
| + | font-size: 96px; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | <div class=" | ||
| + | < | ||
| + | <button class=" | ||
| + | </ | ||
| + | <div id=" | ||
| + | |||
| + | <script type=" | ||
| + | function loadIframe() { | ||
| + | var iframe = document.createElement(' | ||
| + | iframe.src = 'https:// | ||
| + | iframe.width = '600'; | ||
| + | iframe.height = '450'; | ||
| + | iframe.frameBorder | ||
| + | iframe.allowFullscreen | ||
| + | iframe.webkitallowfullscreen = true; | ||
| + | iframe.mozallowfullscreen = true; | ||
| + | iframe.scrolling = 'no'; | ||
| + | var container = document.querySelector(' | ||
| + | container.parentNode.replaceChild(iframe, | ||
| + | } | ||
| + | </script> | ||
| + | |||
| </ | </ | ||
| {{tag>}} | {{tag>}} | ||
| + | |||
| + | |||
| + | |||
| ~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
