@chriskirknielsen@front-end.social
@chriskirknielsen@front-end.social avatar

chriskirknielsen

@chriskirknielsen@front-end.social

🎨 Creative developer and CSS nerd at mojopsg.com
🤓 Enjoys '80s aesthetics, video games, movies, languages, and synths.
📍 From France, based in the US. (weird not-French accent)
💬 Pronouns: he/him

This profile is from a federated server and may be incomplete. Browse more on the original instance.

robb, to random
@robb@social.lol avatar

Starting to think the custom og images I use are more hassle than they're worth.

Like if I toot a post I've done, the title is there anyway so the image doesn't really add anything.

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@robb I took mine away a few years ago because it was a bit of a pain to remember to make it (it was basically a complex URL built with Cloudinary's API and an Unsplash image, fun but ultimately not very useful).

For what it's worth, if you just used your logo in the small form factor, I'd click it all the same, though I could imagine variations like your "RK" logo and "Blog" sitting below in a smaller font size, still fitting in a square. (it's what I've been thinking about anyways!)

zachleat, (edited ) to random
@zachleat@zachleat.com avatar

📮 New blog post: An organizer’s retrospective on the 11ty Conference

https://www.zachleat.com/web/11ty-conf-retro/

A small look at what goes into organizing an inaugural online conference, including a detailed budget rundown.

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@zachleat I appreciate the breakdown and transparency for this! Also the event seemed to have gone without a hitch (besides a couple folks forgetting to unmute 🙊), so on the technical side, this ran super smoothly, very nice to see!

PS: "I’d definitely like to hire someone to design the t-shirt!" 👀

chriskirknielsen,
@chriskirknielsen@front-end.social avatar
hi_mayank, to random
@hi_mayank@hachyderm.io avatar

my #11tyconf talk "Don't fear the cascade" starts in ~15 mins!

https://www.youtube.com/watch?v=iLxJ6PtuF9M
https://conf.11ty.dev/

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@hi_mayank Really enjoyed it, great job!

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@hi_mayank Ah yeah I switched servers after posting it and the one on here is a little bit of a joke. I'll post it again when I get on my personal laptop!

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@hi_mayank Whoops I went overboard and created a page: https://chriskirknielsen.com/css-logo/

chriskirknielsen, to random
@chriskirknielsen@front-end.social avatar

@henry Great talk, great topic, great GIF pronunciation, great domain for the demo. 11/10

chriskirknielsen, to Notion
@chriskirknielsen@front-end.social avatar

I wrote about how I used @eleventy's fetch AssetCache feature to query and store data from an #API like #Notion or the #PlayStation Network (for my Now and Gaming Library pages), abstracting it all into reusable code. Maybe somebody else out there could benefit from such a write up, so I wrote it: https://chriskirknielsen.com/blog/leverage-api-like-notion-with-cache/

chriskirknielsen, to CSS
@chriskirknielsen@front-end.social avatar
rauschma, to CSS
@rauschma@fosstodon.org avatar

#CSS: AFAICT, it’s not possible to hide all HTML .fragment elements after one with the marker class .current

<ul>
<li class="fragment">One</li>
<li class="fragment current">Two</li>
<li class="fragment">Three</li>
</ul>

<div class="fragment">
First
</div>
<div class="fragment">
Second
</div>
<div class="fragment">
Third
</div>

Workaround via JavaScript: Add class .hidden to all .fragment elements and remove them, one by one (vs. “moving” class .current).

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@rauschma The selector you're after is .current ~ .fragment, :has(.current) ~ .fragment but I wrote it specifically for your example. A more complex DOM structure would require a more complex selector list.

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

“DOM stands for DOMinic Toretto”

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@DavidDarnes DOM Elements don't got friends, they got parentElement and childNodes family.

chriskirknielsen, to 11ty
@chriskirknielsen@front-end.social avatar

I'm probably going to get a new laptop soonish, and when that happens, this little fella is going straight onto it! Such a cute character! (not pictured: a neat shirt!)

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@cory Haha, well at least you have options if needed! 🙈

chriskirknielsen, to Playstation
@chriskirknielsen@front-end.social avatar

Updated my Gaming Library page, you can click the title on the spine of a game and it'll open a dialog with more info about it. Recently integrated the PSN API to show trophies and even an icon if relevant. APIs are cool. (manually mapping API IDs to your Notion list, not so cool, but it is necessary!)

PS: Don't try to change the completed status — rude. Also I didn't copy the idea from somebody I look up to with their NYC checklist, nope. 🙃

🏆 https://chriskirknielsen.com/games/library/

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@robb It exists, but isn't officially advertised by Sony, however smart people have figured it out and made it super easy to use. I used this one: https://psn-api.achievements.app

sarajw, (edited ) to random
@sarajw@front-end.social avatar

Look @andycarolan :happy_pepper: !!!

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@sarajw These look excellent! :happy_pepper:

geoff, to random
@geoff@front-end.social avatar
chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@geoff I use :not(#\#) as a specificity hack to avoid using !important, it's a little more aggressive but I try to be careful about using it.

Also, unless I'm misunderstanding you, :not() does not behave like :where(), and indeed does add specificity, by the way! a:not(b) has a score of 0,0,2, not 0,0,1: https://polypane.app/css-specificity-calculator/#selector=a%3Anot%28b%29

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@geoff I think it's valid to use the compound selector in the DOM if needed, yeah! Though I'd probably "automate it" with parent selectors to set up a "context", which kinda echoes what you're saying using scope instead, which is indeed a great use-case. Eager for scope to be widely available!

sarajw, to random
@sarajw@front-end.social avatar

OK, JS Naked Day is a-go!

https://sarajoy.dev

Please tell me if you find any wild scripts roaming around, that I've not managed to hunt down...

https://js-naked-day.org

(If you're eagle-eyed, you may mostly notice the tabs don't slide up in the same way as before, and that my little mode toggles are gone.)

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@sarajw Works a treat!

Two things: there's a stray // at the very end of your DOM, right before &lt;/body&gt; when on a blog post, and I like that your theme-cycler button wobbles on hover. 😄 (though I'm unsure if that was present before — it seems to be a "invalid action" kind of animation, should it be on the contrast/scheme buttons as well?)

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@sarajw Ah, looks like they are only visible on the blog posts, I think? Still think that first animation fits perfectly though!

chriscoyier, to random
@chriscoyier@front-end.social avatar

These stupid coin machines can draw me in anyway, then they do this?!

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@chriscoyier You can Uno reverse the coins, draw them to you… with a strong enough magnet.

Jbasoo, to random
@Jbasoo@mastodon.social avatar

I currently have that melancholy feeling after finishing something great, in this case it's from Horizon Zero Dawn.

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@Jbasoo That is a great game, indeed!

chriskirknielsen, to CSS
@chriskirknielsen@front-end.social avatar

Inspired by @robb, I made a game collection page — less visually appealing, but I had fun with the #CSS: https://chriskirknielsen.com/games/library/

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@cory Thank you! It was my lazy solution to avoid needing to query several APIs to get the box arts — it'd be nicer but this will do! @robb

chriskirknielsen,
@chriskirknielsen@front-end.social avatar

@cory That would be very nice. Given you already have the images for your collection, @robb, I'm counting on you to make that happen. 😄

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • everett
  • slotface
  • osvaldo12
  • khanakhh
  • kavyap
  • anitta
  • Durango
  • vwfavf
  • GTA5RPClips
  • cubers
  • tacticalgear
  • tester
  • cisconetworking
  • ngwrru68w68
  • Leos
  • normalnudes
  • provamag3
  • modclub
  • JUstTest
  • All magazines