模板:Codepen:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第9行: | 第9行: | ||
</tabs> | </tabs> | ||
|{{#tag:html| | |{{#tag:html| | ||
<iframe src="https://kangkk.com" class="wiki-codepen-iframe" onload=" | <iframe src="https://kangkk.com" class="wiki-codepen-iframe" onload="console.log(this)"> | ||
{{#if:{{{html|}}}| | {{#if:{{{html|}}}| | ||
{{{html|}}}|}} | {{{html|}}}|}} | ||
2025年4月30日 (三) 09:34的版本
这个文档嵌入自模板:Codepen/doc
。
Usage
设置高度大于100,小于500
{{codepen
|id=uuid
|height=400
|html=<div></div>
|style=div {
display: block;
}
|script=var a=1;
}}