Khoa
KPCKevin Powell - Community
•Created by Khoa on 5/3/2024 in #front-end
Code this weird bendy thing with text inside?
3 replies
KPCKevin Powell - Community
•Created by Khoa on 2/13/2024 in #front-end
Good naming convention in JS?
I don't write much JS soo this problem only come up recently. My first idea is to have all of my function a "verb" like
getAllItems
or closeTabById
. then for variable I would use "noun" like itemCount
. Are there any recommended rule for this?19 replies
KPCKevin Powell - Community
•Created by Khoa on 12/30/2023 in #front-end
How do I copy this cool bento style website
https://lucasporterbakker.com/
I suck at anything that I can't use flexbox.
I'm aware that he used
display:grid
but I don't know how to get a bunch of boxes with different sizes and also make it responsive. Do I need a bunch of media queries to achieve it?7 replies
KPCKevin Powell - Community
•Created by Khoa on 12/26/2023 in #resources
HTML Recipes - HTML-only examples of common UI
Amazing if you suck at semantic HTML
Made by Stephanie Eckles
https://htmlrecipes.dev/
1 replies
KPCKevin Powell - Community
•Created by Khoa on 7/28/2023 in #front-end
Is there a way to convert rgb into rgba in CSS?
so I already setup my css variables like this
I was wondering if I could insert this variable into something but add an alpha like rgba instead for glassy effect
2 replies
KPCKevin Powell - Community
•Created by Khoa on 7/3/2023 in #front-end
How do I extract the thumbnail URL from a given URL
so let's say I have like a list. each of them has a url.
I want to go through each of them and extract their thumbnail image url to display it.
Is this possible?
24 replies
KPCKevin Powell - Community
•Created by Khoa on 6/14/2023 in #front-end
How to achieve this glow in CSS?
6 replies
KPCKevin Powell - Community
•Created by Khoa on 5/27/2023 in #front-end
How to code this "fade gradient" on image bottom?
5 replies
KPCKevin Powell - Community
•Created by Khoa on 5/13/2023 in #front-end
Twitch card hover effect
21 replies
KPCKevin Powell - Community
•Created by Khoa on 4/26/2023 in #front-end
How to create this weird shape in CSS?
14 replies
KPCKevin Powell - Community
•Created by Khoa on 4/26/2023 in #front-end
Is it possible to have dynamic letter spacing in CSS?
https://rsms.me/inter/dynmetrics/
I was looking into this Inter font and was wondering if it's possible to have like a calc() to gets me the best letter-spacing in CSS based on the font-size
2 replies
KPCKevin Powell - Community
•Created by Khoa on 3/14/2023 in #front-end
How do I handle images with too many different sizes on a blog page?
soo there are small images, big 16:9 images, square images lying everywhere on my blog page and I just don't know how to write css to handle them all at once. Is there a solve-all css line that I can use to automatically make sure all are in the right aspect ratio, doesn't clip content, doesn't overflow out of its container
15 replies