ok i've got a set layout: https://mnsoleart.neocities.org/3d-art/mushroom/index.html
but i'm having trouble with the width of the iframes/embeds, especially the sketchfab ones.
originally these are 800px in width and height. i need to set a max-width property so that it doesn't go beyond the screen width in smaller screens. but if i set a max width rather than a set width, the embeds on PC look squashed/rectangular/not 800px in width and height.
@solziggurat (having a little look now. but might be a bit before i can get you feedback. but yeah, dealing with iframes is usually a pain!)
@gamemakingtools thank youuu of course i chose the hardest stuff to begin with my webpage. incredibleaux
@solziggurat I meant stuff that only shows up once the embeds load, but I was wrong anyway~
* * * * * * * * * * * * * * * * * * * * * * *
Got it working following this:
Feels a bit hacky, but it works. Works fine with the dimensions removed as you have it now.
Here's the document I was was working with:—
—you might find it interesting to look at, I rewrote the html to use different elements instead of the divs
@gamemakingtools oh my god bless you!! i'm going to look at this whenever i get some free time. rly thank you for taking the time to change the code and everything!!! 💖
@solziggurat Hey no worries. Once I realised I didn't actually know a quick solution it became something I wanted to learn for myself too.
Hi! Game Making Social is a part of the Fediverse dedicated to being a well-moderated, cosy, friendly place to talk and share stuff about amateur videogame making, and everything surrounding that.