问题
I have a responsive website that changes style sheets depending on browser width. I have a webform embeded through an iframe. The webform it's self is also responsive. Is there anyway to have the webform width reflect the parent div width.
回答1:
iframe { position: relative; width: 100% }
来源:https://stackoverflow.com/questions/16890025/content-inside-iframe-match-width-of-parent-div