Viewing profile — criswell
criswell
HN member- Joined
- Wed, Jun 27, 2012, 10:54 PM UTC
- HN karma
- 276
- Public activity
- 157 items
- HN profile
- View on Hacker News ↗
About criswell
https://bsky.app/profile/crswll.dev
Recent public activity
-
comment
Comment #44940593
This is a really cool idea. The use of custom attributes without `data-` before it makes me a little nervous. Is that a concern here? I saw `project` being used on elements and if …
-
comment
Comment #44714000
This takes away so many of the criticisms I see in this thread. The issue with Tailwind, and my only minor criticism, is just long, unreadable, not easy to deliminate lists of clas…
-
comment
Comment #39400753
If I didn't sit at a desk way too much I'd give it a shot. There seems to be some solid advantages.
-
comment
Comment #38370591
I really like Arc. Takes some getting used to but worth the adjustment I think.
-
comment
Comment #36742525
"it's trivial to edit and add stuff, and requires basically no maintenance whatsoever." What an absolute dream.
-
comment
Comment #36035629
If every instinct you have is wrong, then the opposite would have to be right.
-
comment
Comment #35833474
I don't recall that, just to not rely on the order of an object's keys, which appears to be outdated advice (at least for Javascript). https://2ality.com/2015/10/property-traversal…
-
comment
Comment #35787499
give me apache directory listing styled websites or give me death
-
comment
Comment #34023579
I want to say this but too lazy to defend it.
-
comment
Comment #32860642
This is why I'm so bummed by it.
-
comment
Comment #31698511
Intellisense would help a lot with this task: https://gist.github.com/crswll/db0d276bbf0884b003f3715d48e68...
-
comment
Comment #31696033
Looking forward to the takes on your 91st account.
-
comment
Comment #31695997
I know it's going to be abused to hell like everything popular but definitely a useful power tool. It'll be really nice for container queries when they're ready. Something like: `w…
-
comment
Comment #31397967
You can't get punched in the mouth on the internet.
-
comment
Comment #26519821
There's `space-y-N` which does exactly this, `space-x-N` for horizontal.
-
comment
Comment #26519788
If you want to change the padding in a project that's using Tailwind you only need to look for classes that begin with `p` followed by a letter for a side or x and y for an axis (s…
-
comment
Comment #24623157
Yeah, but humans.
-
comment
Comment #18115484
I'm sorry I'm just not seeing the value in it. I'm just seeing more complexity JS and CSS wise without solving any problems.
-
comment
Comment #18103586
I'm just saying if you want to target something on an element it needs to be set in an attribute and classList takes care of this. I use classes strictly for styling. I change thes…
-
comment
Comment #18099945
I wasn’t aware of the tilde attribute selector. Still a lot more characters, though. The classList api is still a lot more suited for this than dataset. None of the modifications d…
-
comment
Comment #18090261
Totally talking without thinking about it too much here: The classList API makes modifications to the class property very easily. You'd be essentially limited to one identifier in …
-
comment
Comment #18085572
You're changing the source order doing this which can get messy plus generating a lot of long selectors. Example: .m4, .profile-card, .other-card, .header, .foo, blah { margin: 4em…
-
comment
Comment #18085137
This is how you can do all of that: class="hover:red" -> .hover\:red:hover { color: red } class="before:red" -> .before\:red::before { color: red } class="medium:red" -> @media (mi…
-
comment
Comment #18085013
I'm a frontend developer of about 15 years as well and I think functional css makes a lot of sense. My biggest argument for it is not having to name every thing. You know how many …
-
comment
Comment #18084909
You can use `text-primary` or `text-secondary`. Sure it's less obvious looking at the markup what something looks like but it allows for theming.