javascript - Programmatically apply media query without changing iframe size -


i have small iframe houses larger content page. iframe has overflow: scroll can scroll around , see entire content page, however, content page css has media queries getting triggered because of iframe's small size, though actual page larger.

is there way either manually pick when apply these query styles or trick iframe thinking it's full width of content without changing size?

the option i've thought of break media queries separate files , programmatically change additional link's href point @ them needed, seems kind of messy.

thanks in advance


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -