| Jan 02 |
I genuinely thought such a component required JS. After a day of tinkering, turns out I was wrong. This is a 100% plain HTML and CSS "card tabs" component built with <details>, container queries, and absolute positioning. https://t.co/qoL1pXCegg
|
68 |
1 |
5 |
7.6k |
251 |
. |
| Jan 02 |
Everyone knows “headless” UI libraries that offer behavior without styles. BYOCSS.
But we’re missing the inverse: “bodiless” UI.
Styles without behavior. You bring the HTML.
Here’s why we need both…
|
25 |
2 |
6 |
6.6k |
200 |
. |
| Dec 31 |
Since they are checkboxes, you can style them however you like:
- Chips/tags
- Cards
- Toggle switches
- Whatever fits your design
Try doing that with `<select multiple>`.
|
8 |
0 |
1 |
5.2k |
179 |
. |
| Dec 30 |
After building a full CSS tree system, I wanted to push it further with two experiments:
1. Folder-style stacked trees
2. Mixed orientations in the same tree
Here's what I learned: 🧵
|
36 |
1 |
2 |
7.5k |
184 |
. |
| Dec 30 |
This is a valuable point and I appreciate Adam nuancing my language. I too often use the term "semantic class" to loosely describe "not one of Tailwind's utility classes", but this is lazy and incorrect. The critical distinction is between presentational classes and semantic classes, does it tell us what the screen will look like or name an abstract entity.
One of my strongly held beliefs is that there is now a common vocabulary of names for the core components of web applications that what may have previously been semantic names now carry presentational meaning. A "button" names a visual effect, a composition of utilities. It is just a higher-order utility. We need not shy away from such classes.
|
11 |
0 |
3 |
7.5k |
708 |
. |
| Dec 28 |
CSS trees can flow in any direction. Sure, → left-to-right and ↓ top-to-bottom are most common, but a good tree component needs to support ← right-to-left and ↑ bottom-to-top as well
Building on our previous foundations, just one property change for each.
Here's how: 🧵 https://t.co/30WPyMixSm
|
61 |
4 |
1 |
5.9k |
295 |
. |
| Dec 22 |
Designer-quality dialogs with zero JavaScript 👀
Borrowed the visual design from @trycampsite, but built with native <dialog> and pure semantic HTML and CSS. Full walkthru at: https://t.co/54apoduCpi
Check it https://t.co/OVdSrLK8zw
|
125 |
8 |
4 |
5.4k |
239 |
. |
| Dec 17 |
Enjoyed this post?
Subscribe to @fractaledmind for my mix of frontend, backend, SQL, Rails, and random content.
|
6 |
0 |
0 |
6k |
113 |
. |
| Dec 17 |
The scorecard when it comes to whether the approach is [1] cacheable, [2] colorable, [3] keeps the DOM small, and [4] doesn't require external requests:
Inline SVG ❌ ✅ ❌ ✅
IMG tag ✅ ❌ ✅ ❌
Icon fonts ✅ ✅ ✅ ❌
mask-image ✅ ✅ ✅ ✅
|
37 |
0 |
1 |
7.4k |
257 |
. |
| Dec 17 |
And the browser support? ~95% global coverage. Full support in Chrome 120+, Safari 15.4+, Firefox 53+, Edge 120+.
This isn't experimental CSS. It's ready now.
|
9 |
0 |
1 |
8k |
160 |
. |
| Dec 13 |
The prompt:
Can you "see" webpages if I give you links? Here are three of my favorite landing pages that use the TUI aesthetic:
* https://t.co/7cvvcltEKv
* https://t.co/wweROwFuGF
* https://t.co/exDqTmKNiV
In case you can't hear are screenshots attached. I want you to redesign the HTML I've attached to get something that both feels unique and familiar with these.
The result:
https://t.co/VAOD3LLnbl
|
8 |
1 |
2 |
6.3k |
404 |
. |
| Dec 13 |
I used Gemini yesterday for some design work, and I have to say, it was astounding. Does it produce _exactly_ what I want in one-shot? Absolutely not. But I got me into editing mode and past the blank canvas immediately, and its suggestions and aesthetic were remarkable.
|
6 |
0 |
1 |
6k |
271 |
. |
| Sep 23 |
Today has been a pretty amazing day…
Say hello to Emma Elanor Margheim and wish her a happy birthday! https://t.co/FPZDuN47AV
|
175 |
0 |
33 |
5.1k |
126 |
. |
| Jun 26 |
If you are a dev-centric company and you have clear positioning, profit-oriented pricing, and a proven product, you should be more aggressively pursuing mind-share thru a large collection of small "ad spends".
* 6 months of 30 second ads on every @MostlyTechPod.
* Sponsor a speaker at a conference with your target audience (even if they don't work at your company 😱).
* GitHub sponsorship of a popular, or rising, project in your domain where you add your logo and 6 word pitch to the README
* Pay for snacks at 6 small conferences in your space and have the organizers give your 30 second pitch on stage
I bet you could do all of these for less than 20k and gain so much positive will, so much mind share, so much name recognition. Way better bang for your buck, IMO, than X ads or Reddit ads.
|
7 |
2 |
1 |
5.9k |
801 |
. |
| Apr 18 |
Ruby is powerfully suited to be a central language in the age of AI, as layed out by @yukihiro_matz in his closing keynote at #RubyKaigi2025 https://t.co/Ac0WDsPYgz
|
55 |
10 |
1 |
5.7k |
164 |
. |
| Mar 29 |
This afternoon I explored building a JSON viewer in vanilla HTML+CSS that was both beautiful and accessible. Not 100% complete, but I've proven out the foundations. Built with <details>, ::before and ::after, and role=tree
Link to Tailwind playground in next tweet 👇️ https://t.co/zSwAwZTBDs
|
60 |
1 |
4 |
7.2k |
298 |
. |
| Feb 21 |
One of my favorite aspects of preparing the High Leverage Rails course was breaking down how many of Active Record's methods actually work at the SQL level. Here is a snippet from the "Upserting data" video breaking down the upsert method https://t.co/c2Pln3kx3R
|
92 |
3 |
3 |
9.1k |
262 |
. |
| Dec 24 |
👀 this beautiful Ruby. This Expression class converts structured Ruby to SQL strings. These ~80 lines cover 80+% of the expression syntax available in SQLite. You compose basic Ruby objects into structured hashes to describe your expression, like `{ 2 => { BETWEEN: [1, 3] }` https://t.co/MwOwFgR0lT
|
64 |
2 |
6 |
6.9k |
302 |
. |
| Dec 10 |
Wrote a new blog post today on the simplest, most elegant way I know of to encode a polymorphic association in a form. The secret is to lean on Global IDs. Link in next tweet https://t.co/xAeRbp1StA
|
75 |
9 |
8 |
8k |
198 |
. |
| Dec 08 |
Rails continues to expand its lead as the single best platform for building web applications backed by SQLite! You can now load extensions directly from the database.yml file. This now means you have quick and easy access to the full range of SQLite extensions
🧵
|
73 |
8 |
2 |
5.6k |
263 |
. |
| Oct 31 |
Yesterday @joeldrapper and I were pairing and came up with this lovely test that ensures you have no controllers with public methods that do not have a corresponding route defined. https://t.co/heZNjc22Kc
|
116 |
5 |
10 |
6.4k |
204 |
. |
| Oct 06 |
Enjoyed this post?
Subscribe to @fractaledmind for my mix of frontend, backend, SQL, Rails, and random content.
|
7 |
1 |
0 |
7.2k |
113 |
. |
| Aug 16 |
The second major PR to help ensure that Rails 8 is the world's best web framework for building powerful yet operationally simple apps with SQLite just landed! This feature will ensure that response latency stays reasonably flat, even under heavy concurrent load.
|
72 |
4 |
10 |
5.5k |
262 |
. |
| Aug 11 |
What are the best Rails app templates out there? Those that have a resilient experience when applied to existing Rails app in particular would be nice. And source code available please. I’m doing a deep dive
|
32 |
2 |
10 |
6.7k |
207 |
. |
| Aug 09 |
I've been working on a new gem for building CLI/TUI forms. It is my attempt to build something functional and beautiful, but with simplicity at its base. After a deep dive into the problem space, I've found a high-leverage way forward that I'm excited about.
🧵
|
42 |
2 |
5 |
7.1k |
261 |
. |
| Aug 08 |
This was such an enjoyable conversation. We talked about my journey into programming, old college rivalries, the aesthetics of simplicity, and—of course—some nitty gritty details around Ruby and SQLite. @aarondfrancis was a gracious and curious host. Such a pleasure!
|
59 |
8 |
4 |
6.8k |
267 |
. |
| Jul 27 |
New #SQLiteOnRails feature just landed in @rails main!
As of now, Rails will ensure to use IMMEDIATE transactions for SQLite transactions. This solves a major pain point for Rails apps where busy exceptions are often thrown due to DEFERRED transactions being the default.
|
80 |
8 |
3 |
6.9k |
272 |
. |
| Jul 27 |
I really enjoyed getting to share my journey as a @rails contributor. I love the Ruby and Rails community, and I’m happy to be a part of it. #RubyConfAfrica2024 is a wonderful example of the liveliness and energy in our community!
|
42 |
9 |
0 |
8.9k |
230 |
. |