如何使用 javascript 旋转 iFrame?

How to rotate an iFrame using javascript?

我有一个 iFrame:

    <div class="embed-responsive embed-responsive-16by9">
       <iframe id="camera_view" class="embed-responsive-item container well well-small span6" style="height: 720px; width: 1280px; background-color: #2e2e2e;" src="www.google.com">
       </iframe>
    </div>

如何使用javascript旋转?

注意:我使用 Bootstrap 代替 CSS。 jQuery 对于 javascript.

css3

中有transform属性
#camera_view {
  transform: rotate(45deg);
}

希望对您有所帮助