html
锦坤!
这个作者很懒,什么都没留下…
展开
-
跨域传递数据(iframe), postMessage用法
otherWindow:其他窗口的一个引用,比如 iframe 的 contentWindow 属性、执行 window.open 返回的窗口对象、或者是命名过或数值索引的 window.frames。这些对象的所有权将被转移给消息的接收方,而发送一方将不再保有所有权。2. A页面为父页面,A页面中嵌套B页面(iframe)3. B页面为iframe页面,即A页面中src所指页面。message:要传递的数据。...原创 2022-08-03 09:07:02 · 3477 阅读 · 0 评论 -
animation旋转
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>旋转</title> <style> @keyframes tur...原创 2022-05-07 13:23:52 · 571 阅读 · 0 评论