Does iframe support media-queries?

i.e. if I write media query in an iframe will it act as a screen with some resolution?