Highly Nonexistent
Highly Nonexistent
KPCKevin Powell - Community
Created by Highly Nonexistent on 1/20/2024 in #front-end
Using grid to lay out a website, avoiding potential use of dvh
No description
8 replies
KPCKevin Powell - Community
Created by Highly Nonexistent on 11/22/2023 in #front-end
Sass, scss, less, and why/when/which/where to use them?
After developing a little project that is still ongoing, I have learnt a lot about html and css, although still dabbling in JS. This being said, I heard people talk about sass and scss, but since I had a deadline I didn't stop too much to think about those. Now that I'm looking more into them, they seem quite interesting and like a potentially good resource to use. Looking online, however, I've seen mixed opinions. A lot of people recommend them for everyone, others for big projects, and some just prefer to stick to plain CSS. And trying to look up what the difference is, I've only found sorta vague info like "sass and scss are the same but sass uses indents while scss uses {}, etc", and I am frankly a little confused. Sorry if the following is a lot of questions, but I am just very curious for input from people who work with these: - How worth it is it to use these as a personal developer? - Which one is recommendable over the other ones, in your opinion, and for what reason? Or perhaps there's no considerable difference? - If one wants to stick with base CSS, is it a sort of voluntary hinderance? - What size/scope of project would definitely require these?
130 replies
KPCKevin Powell - Community
Created by Highly Nonexistent on 11/20/2023 in #front-end
Is there a website or a repository in which we can see when CSS features were added?
Sometimes I'll be looking up a feature on CanIUse or developer.mozilla.org to check its compatibility, since I've been seeing some pretty useful features pop in and out, but some of them are still experimental and all, and some seemingly older ones still have some issues, while others are deprecated. So my question is, is there a place where one can find what year, version, etc. a property came out? And, second question, where can I keep myself updated with current and upcoming ones?
23 replies
KPCKevin Powell - Community
Created by Highly Nonexistent on 11/18/2023 in #front-end
How to achieve text shrinking instead of overflowing or container resizing?
I want to be able to have a max font size, say, 2rem, in a container, and for the font size to automatically shrink once it reaches the padding limit of the container instead of overflowing or changing the size of the container. This is in the context of a template for, say, a group of titles or users. Is there a way to do this that's also compatible with all browsers (except IE probably)?
7 replies
KPCKevin Powell - Community
Created by Highly Nonexistent on 11/17/2023 in #front-end
How to preserve the default border style swap for buttons when pressed?
Default buttons have that neat effect that swaps the two colors of their outset when pressed. However, once you customize anything other than the width, that effect goes away. While I know I could probably achieve the effect by setting border colors and then swapping them with button:active, I'd like to know if there's a way to preserve this default behavior while changing the color/setting the style to outset without having to access the pseudo-class.
6 replies