snxxwyy
snxxwyy
KPCKevin Powell - Community
Created by Helgi on 12/15/2024 in #front-end
div question
No description
42 replies
KPCKevin Powell - Community
Created by Helgi on 12/15/2024 in #front-end
div question
then you can place the content in the corresponding rows and columns
42 replies
KPCKevin Powell - Community
Created by Helgi on 12/15/2024 in #front-end
div question
something like that
42 replies
KPCKevin Powell - Community
Created by Helgi on 12/15/2024 in #front-end
div question
position absolute would be pretty unstable for this layout
42 replies
KPCKevin Powell - Community
Created by Helgi on 12/15/2024 in #front-end
div question
grid would be the best solution imo
42 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
:has() alternatives
Christ 😅
20 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
:has() alternatives
i mean all major browsers support it, it's just those extra ones like opera mini and whatnot
20 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
:has() alternatives
yeah it does seem like more hassle than it may be worth
20 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
:has() alternatives
For example, giving a div a red background if it has a paragraph in-
div:has(p) {
background-color: red;
}
div:has(p) {
background-color: red;
}
20 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
:has() alternatives
Hm those are interesting, so there’s not really a ‘good’ workaround? It’s just a feature you’ll have to lose some support using?
20 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
optimization | @font-face with <link>
Thank you
15 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
optimization | @font-face with <link>
Okay sweet, I’m on the right track then
15 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
optimization | @font-face with <link>
Ah okay, I usually define font-display: swap; in my @font-face declaration, that’s more recommended than on the body or specific element right?
15 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
How does the cascade affect media/container queries?
Ah okay cool, that’s what I was leaning towards, thank you
4 replies
KPCKevin Powell - Community
Created by snxxwyy on 12/10/2024 in #front-end
optimization | @font-face with <link>
oh awesome! thanks
15 replies
KPCKevin Powell - Community
Created by Filip160 on 12/9/2024 in #front-end
Need help with my layout responsiveness.
Yeah I’d probably use flex then, you can make it a customisable component and add a reverse variant using flex direction
75 replies
KPCKevin Powell - Community
Created by Filip160 on 12/9/2024 in #front-end
Need help with my layout responsiveness.
Well you could either use grid or flex for that, any other sort of special functionality you’re going for?
75 replies
KPCKevin Powell - Community
Created by Filip160 on 12/9/2024 in #front-end
Need help with my layout responsiveness.
Either that or flexbox, it depends what layout you’re going for
75 replies
KPCKevin Powell - Community
Created by Filip160 on 12/9/2024 in #front-end
Need help with my layout responsiveness.
position: absolute;
75 replies
KPCKevin Powell - Community
Created by Filip160 on 12/9/2024 in #front-end
Need help with my layout responsiveness.
It wouldn’t be written like that
75 replies