The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Shrink contents of iframe so theres no scroll(like on codepen homepage)

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #206368

    So basically im dynamically loading iframes into a grid where each iframe is 300×300. I need to shrink the content of the iframe so the iframe doesnt scroll…currently the contents of my iframe are too large for the 300×300 styles im applying to it. A perfect example of this is the homepage…any ideas?


    Looks like Codepen is using a transform: scale(0.5) on it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.