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
Post a Comment