CSS iframe element

CSS Styling element inside an iframe using javascript

One of the challenging thing in CSS is when you tried to style an element inside an iframe. At first, it sounds impossible but the code below fixed this issue somehow.

The logic on the code below is we add a line of CSS using javascript.

You can add your custom styling on line 3 and see the effect.