■前提
・jQueryを使う
■手順
①iframeが読み込まれた時にCSSが適用されるようにする(load
イベント)
②iframe内のCSSを適用したい要素を取得する
③取得した要素にCSSを適用する
■コード
$("iframe").on("load",function(){
$("iframe").contents().find('header').css("display","none");
$("iframe").contents().find('.selector').css({"margin":"15px","padding":"15px"});
});
(参考)
http://www.koikikukan.com/archives/2015/03/03-005555.php