Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个响应式网站,可以根据浏览器宽度更改样式表。我有一个通过 iframe 嵌入的网络表单。它本身的网络表单也是响应式的。无论如何让网络表单宽度反映父 div 宽度。
iframe { position: relative; width: 100% }