fishforfree
1 week ago
Heyy. How do you manage that you site scales as one entity and keeps its exact layout intact not matter how zoomed in or out it is? Every time I try to do that, zooming in an out also moves individual parts of my site around in ways they aren't supposed to.
vulpecula
1 week ago
@fishforfree hey! that's because the site has a fixed width using a wrapper div! whole site is set to 500px wide (or 800px for my main pages) so it won't scale at all :) super nice & easy guide here: https://www.geeksforgeeks.org/css/wrapper-in-css/
daliwali
1 week ago
it's a column layout using css `columns` with `max-width`, there's a container query on the parent to set the `columns: 1` if it's too small.
thank you!! your art has a really cool vibe!
Thanks i really appriciate it, btw i your Website really inspired me to implement Glighbox. Do you know if its possible to have the Gallery in an iframe, but the overlay open in the Parent Site?
hmm, not to my knowledge.. It's not something available by default, but maybe you could get the functionality with some custom javascript? You'd probably have to initialize a similar glightbox gallery on the parent site itself, and trigger the parent glightbox overlay to open in response to the iframe gallery. Not sure though!
Thanks^^ Sadly i dont know any Javascript yet :( Ill figure something out :)
petrapixel recently released a beginner's javascript tutorial and I heard that it's neat! check it out if you want to learn the basics :D https://petrapixel.neocities.org/coding/javascript-tutorial