Chris Coyier

All Photos Twitter.com
🔥 Well this is fancy! A pixellated Mario made out of (real!) <input type="checkbox"> elements. Uses the new `accent-color` CSS property. Check out the code on CodePen:codepen.io/shshaw/pen/bGR…l Created by@shshaww, discovered in the@FrontendHorsee newsletter!4
Retweeted by Chris Coyier
UX Designer Reacts to Having to Debug Something at the Terminal chriscoyier.net/2022/07/05/ux-…
Responsive Snek 🐍 Had to find out! 😅 c@chriscoyierer 🛠️ ResizeObserver &&am@greensockockcodepen.io/jh3y/pen/poLjr…56fo @CodePenemXbl
Retweeted by Chris Coyier
I'm glad Block Protocol isn't ignoring Web Components: blockprotocol.org It should probably encourage it more strongly really.
Also @HaulPebert's image comparison Web Component is another cool idea: cloudfour.com/thinks/buildin…
ANYWAY — I think it's neat. You can learn more about Web Components via Uncle @davatron5000's new @FrontendMasters course. frontendmasters.com/courses/web-co…
And perhaps the CMS could be smart enough to plop over the used components in the HTML response so they are ready-to-use. Another reason for HTML imports to exist, probably.
Have we actually solved anything? Well, the front end now assumes this Web Component initialization, which is yet another assumption. Potentially an even bigger assumption than the CSS was. But it's less conflict-y!
But I'm not sure I love any of those solutions. 1) and 2) Assume the front end has the exact CSS needed in place for it to work perfectly. 3) Jumped in styling strength from LOW to SUPER HIGH.
An implementation like this could just plunk over the Light DOM to the Shadow DOM and apply super basic CSS. codepen.io/chriscoyier/pe…
What if we could ship some encapsulated styles for this basic layout need instead? Seems like a pretty OK use case for Web Components to me.
WordPress ships it like this, and does its best to inject the needed CSS into the theme. Something it cannot do if used headlessly.
So (1) option is like `class="NAMESPACE-columns"` or the like. Another (2) option would be to assume utility classes. Another (3) option would be inline styles. You could do it with Flexbox or Grid.
The fact that the CMS is offering this feature makes some pretty big assumptions! There needs to be HTML & CSS in place that make this layout happen. ⚠️ BOTH in the CMS itself and where the content it consumed. We're talking something like this at a minimum.
Can we actually use structure and classes exactly like that? The structure seems fine, but the class names are a little generic for a headless CMS. A generic CMS would want to namespace them in some way to not risk collisions with an arbitrary front end.
Say you want to do something pretty darn basic in the CMS: have a section of content be in columns. Say just a simple 50/50 left/right two-column chunk.
Headless CMS’s are a whole thing these days, right? 1) Build content in the CMS 2) Access the content via API 3) Build the thing with that API-gotten content
Here’s a thought about Web Components and CMSs. These seem like a good fit for me, when it comes to some basic layout needs.
I got to chat with @KevinJPowell over on @CodePen Radio: blog.codepen.io/2022/07/01/374… AND @jay_hoffmann over on @ShopTalkShow shoptalkshow.com/522/ I can tell ya, the smart people you get to talk to by virtue of having a podcast is the best part.
On a tiny serendipitous moment in which a game player I like watches another game I like to watch. chriscoyier.net/2022/07/03/sta…
Are there any good firefly conspiracies? They seem fake. A little too aesthetically perfect to just be a thing.
In my ideal world, everyone should have to wonder if everyone is hitting on them, regardless of gender. Would it make dating more confusing? Probably! But like, in a cute queer way!
Retweeted by Chris Coyier
Just eyeing up a new credit card design and thinking about more impactful things that could use a reboot. chriscoyier.net/2022/06/30/the…
Study Confirms People Who Enter Email Into Content Blocking Overlay Modals Highly Correlate With People Who Buy Collectible Coins from Ads in Parade Magazine.
Maybe global warming is The Nothing, swallowing the earth as the hopes and dreams of earthlings dwindle. ATTTRAYYYUUU Sorry happy Sunday
Dark mode rules because you get to do the Little Page Groove Dividers With Highlights which is basically peak web design.
If we lived in a town where the only news of the outside world arrived written on a sheepshide wrapped around a cannonball that fell from the sky every 3.7 weeks... chriscoyier.net/2022/06/23/the…
(Hey dall•e, do coolio in a sweater vest.)
The fella has spent the majority of his youth in a situation fortuitous to gang activity. Indeed, even his own mother has grave concerns about his state of mind.
♛ ♛ ♛ ♛ New! @meyerweb and I discuss search engines, web design, web conferences, CSS, and the future with @chriscoyier & @davatron5000 on @ShopTalkShow № 520. shoptalkshow.com/520/
Retweeted by Chris Coyier
“tampering with the public record” chriscoyier.net/2022/06/20/tam…
GERGE: hey can u spot me for lunch? Im a little short on cash JERY: crypto? GERGE: crypto JERY: what happened i thought u bought the dip! GERG: I did! but then it dipped again JERY: it double dipped? GERGE: I DOUBLE DIPPED THE CRYPT
Retweeted by Chris Coyier
Yo @elgato — help? Why u say USB 3 is required when the Facecam is 100% plugged into a USB 3 port with a USB 3 cable?
Nice — found a copy of my first round of business cards
[taco bell] may I take your order? [me, the mayor, a man of the people]: yes gimme whatever the car in front of me ordered and whatever you think the car behind me is likely to order. [taco bell] (salutes me while eagle flies by)
Twiends™ uses the Twitter™ API, displays it's logo & trademarks, and is not endorsed or certified by them. These items remain the property of Twitter. We do not sell followers, we only provide display advertising. Bots & fake accounts are not permitted on twiends. © 2009
Grow Your Twitter Free
Want To Grow Your Twitter?
We help other people find and follow you on Twitter.
Key Info:
Started in 2009
Over 6 million signups
Country targeting provided
We never auto tweet to your timeline
We never auto follow others
We actively moderate our community
Please Share
Please upgrade your browser  chrome