hpw can set css for iframe to iframe tag code example
Example: put html in iframe
<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>
<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>