symisz
KPCKevin Powell - Community
•Created by symisz on 8/29/2023 in #front-end
Can this be solved using only CSS?
i think i solved it.
this almost seem to work for me:
any idea how i can remove the extra padding gap here?
https://codepen.io/symisz/pen/abPmYaj
20 replies
KPCKevin Powell - Community
•Created by symisz on 8/29/2023 in #front-end
Can this be solved using only CSS?
20 replies
KPCKevin Powell - Community
•Created by symisz on 8/29/2023 in #front-end
Can this be solved using only CSS?
i made some marginal progress, still need to make it adaptable to various data input.
20 replies
KPCKevin Powell - Community
•Created by symisz on 8/29/2023 in #front-end
Can this be solved using only CSS?
20 replies
KPCKevin Powell - Community
•Created by symisz on 8/29/2023 in #front-end
Can this be solved using only CSS?
thank you for the suggestion, i'll try that tomorrow.
20 replies
KPCKevin Powell - Community
•Created by symisz on 8/29/2023 in #front-end
Can this be solved using only CSS?
so far i know i can't use
:has
to change the complete grid style depending on the amount of siblings. that is not within the capabilities of what :has
can do.20 replies
KPCKevin Powell - Community
•Created by symisz on 8/29/2023 in #front-end
Can this be solved using only CSS?
20 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Adding image with pseudo before yay/nah (verdict: nah)
oeff, i made a huge error, nesting list like i had. here is an update of what i wanted to achieve.
https://codepen.io/symisz/pen/xxmbWgO
7 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Adding image with pseudo before yay/nah (verdict: nah)
yea, much cleaner using grid! thnx for the suggestion
7 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Adding image with pseudo before yay/nah (verdict: nah)
that's a good point, i'll just revert to adding the picture in the list then, easier to maintain dynamically.
7 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Correct way of using BEM methodology?
i've settled in writing the block classes as
gb-hero
gb-hero--theme-green
gb-hero__list
22 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Correct way of using BEM methodology?
yea, i'm not writing BEM off, i see it's usefulness. In your case BEM would be overkill indeed.
22 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Correct way of using BEM methodology?
XD
22 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Correct way of using BEM methodology?
if not BEM, what do you use instead?
22 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Correct way of using BEM methodology?
ah, just make them scoped styled then, i guess
22 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Correct way of using BEM methodology?
yea, since hero class suppose could apply to other heroes on other pages
22 replies
KPCKevin Powell - Community
•Created by symisz on 8/21/2023 in #front-end
Correct way of using BEM methodology?
Yeah, watched it before I came here. And my question is not addressed in there however.
Because if his class card is part of a guestbook, how would you rename that with BEM?
22 replies