I’m wondering how I could design a div block that stays as a square by resizing the browser ? The width has to be 33.333% but the height?! background: I want to design a grid system without the columns (want to integrate a filter).
Oh I knew how to do this prior to Webflow, I just tried in Webflow and it works. I know 3 solutions. You can use an image as a placeholder in your block, images retain ratio. But there are 2 solution without images. The first one doesn’t give you much possibility to put content in the square, the other one does but requires a bit of custom code so it’s not showing in the designer, buton publish. Here are those 2 solutions:
Yeah thats looks good! But I need with content. So I think it would be the second solution (: I just have to put the code in the custom code area of the dashboard?
The solution with placeholder image doesn’t allow content or hover effects right ?
I updated my page, because the same content solution can be applied to the first example… and works in designer. And no custom code. So I’d say use and abuse of solution 1 !
I think there isn’t a solution for what I want to achieve…Since I want to implement also a filter function, I need to have the divs in one section. Problem is: when all the divs are in the same section, scrolling does not work in the browser
@vincent maybe it’s a stupid question. But can you tell me how I create a global class? Or what are the differences between a global and and combo class ?