0

I have an HTML struccture like this:

<iframe>
#document
<!DOCTYPE html>
...
</iframe>

I want to modify the css of the embedded html page. Is there a way for the same? I am using React JS and tried to import additional css for the specific html but it remained unaffected.

Shivam Sahil
  • 1,031
  • 5
  • 16
  • have a look here: https://stackoverflow.com/questions/217776/how-to-apply-css-to-iframe – Jarlik Stepsto Mar 04 '21 at 12:01
  • Does this answer your question? [How to apply CSS to iframe?](https://stackoverflow.com/questions/217776/how-to-apply-css-to-iframe) – Nate Levin Mar 04 '21 at 13:39
  • This doesn't make it clear that for example I have a html tag within an iframe (or an id): `#insideiframe013 {background-color: red;}`. How do I add this style to my css? – Shivam Sahil Mar 05 '21 at 07:46

0 Answers0