문제

Let's say a page declares a font-face in the stylesheets and contains an iframe pointing to a page on another domain. Will the page in an iframe be able to use the font-face from the parent page?

도움이 되었습니까?

해결책

No, it won't. The iframe page doesn't inherit any CSS from the parent page.

You will need to include the style sheet for the font in the iframe page also.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top