Live data from Hacker News

Viewing profile — emmacharp

emmacharp

HN member
Joined
Wed, Nov 30, 2022, 2:25 PM UTC
HN karma
132
Public activity
129 items

About emmacharp

No profile information was provided.

Recent public activity

  1. comment
    Comment #44704646

    Hello! Sorry for the delay, I thought the thread was indeed dead. Hehe. Maybe you are right about clamp(), but I still think it's only available through “obscure” means if I may sa…

  2. comment
    Comment #44658599

    Some real issues with Tailwind I don't see mentioned as often is they should revolve around the lack of some modern and efficient CSS features and techniques and the inefficient, o…

  3. comment
    Comment #43568021

    It comes from socially produced wealth and ressources, like all public services?

  4. comment
    Comment #42259527

    Great! 1. some simple selectors can be used in specific contexts (like `html` for type inheritance, for instance). `flex-module` is a component name (albeit a very generic one only…

  5. comment
    Comment #42246794

    1. Which part of the cascade do you struggle with? Because it can make your code really simple and efficient! 2. If you link your CSS inside your component you have a direct access…

  6. comment
    Comment #42246675

    1. The stylelint config will flag any selector not scoped (be it a class or an attribute) to the filename. This way you'll be notified if any selector could be misapplied essential…

  7. comment
    Comment #42215728

    1. I don't think I understand why you think flex & grid are barely unusable... without a dozen classes..? Maybe an example would clarify this perception for me. 2. You barely need …

  8. comment
    Comment #42213802

    Great questions/problems! 1. I address the problem of relevance by inserting the CSS right into the component with a link tag. If the component is not used, the CSS isn't either. A…

  9. comment
    Comment #42213520

    I invite (for fun and learning!) anyone here still thinking native CSS provides no efficient solution to the problems Tailwind may have solved 5 years ago to challenge me: Bring up…

  10. comment
    Comment #42213411

    The clamp() CSS function (and auto-adapting grids) can reduce media query usage to a really loooow minimum. Nowadays I use media queries only for mobile nav and maybe layout grid a…

  11. comment
    Comment #41560527

    I started linking component stylesheets directly in the component HTML, de facto eliminating unused CSS from the output. HTTP3 provides performance gains we can benefit from by ser…

  12. comment
    Comment #40990041

    Yes it's still and always evolving and we need less and less of the heavy JS frameworks to produce interfaces. HTMX is way lighter than React, for instance. And from what I know, i…

  13. comment
    Comment #40987614

    Why would you need a custom selectbox in the example you provided? Because you could use the menu element with the popup API and AJAX if I understand your example correctly. On a s…

  14. comment
    Comment #40987565

    CSS was not meant to be used by programmers but by designers... so yeah there's a disconnect there. But that does not mean programmers cannot use it the way it was intended to inst…

  15. comment
    Comment #40987088

    My pleasure!

  16. comment
    Comment #40985451

    For the curious, here is a set of "simple" rules for CSS authoring that, coupled with linting (through Stylelint, for instance) can address a lot (most?) of the issues raised in th…

  17. comment
    Comment #40985378

    You may have to group elements, yes. But generally speaking, they already are grouped in some logical sense. And you can do a lot now with grid, without having to wrap child elemen…

  18. comment
    Comment #40985267

    Quite true, unfortunately. But I think there are benefits that can be "feeled" almost instantly. I think problem is one of focus. Lots of team leads don't focus on these solutions …

  19. comment
    Comment #40985169

    You can use structural HTML and CSS inside components as their content is already structured and should not change on whim. Same for the first "master" layout layer. Applying style…

  20. comment
    Comment #40985126

    Some thoughts on reasons above: With recent display roles (like grid, flex, contents, etc.) the HTML needed exclusively for layout problems is really minimized if not completely no…

  21. comment
    Comment #40985065

    Aren't there inherent advantages to correct and semantic code, advantages like performance, simplicity, understandability, expressivity, that could/should benefit the business?

  22. comment
    Comment #40985040

    I'm curious, why would you say "applications don't map too well onto HTML"?

  23. comment
    Comment #39714045

    Nice! They're great for establishing a strict scope for rulesets.

  24. comment
    Comment #39714028

    I see, yes. I meant "efficient" in it's pure economic definition: Producing effectively with a minimum of waste, expense, or unnecessary effort. Is there a better term you're think…

  25. comment
    Comment #39713995

    I'm working on refactoring some sites in ECSS right now. I can report back when done if you care enough! As of now, you can look into the ecss.info CSS on github if you want a tast…