Replies

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

yuanchuan, to random
@yuanchuan@vis.social avatar

Sometimes I'm struggled with the performance and inconsistent behaviour between browsers while using css-doodle. This often leads me to consider switching to other tools.

But I really like the syntax of css-doodle. So maybe I could reimplement it using another render layer other than CSS, like canvas?

yuanchuan,
@yuanchuan@vis.social avatar

@kristinHenry Right, the only problem is when I want to export and save the result, a headless browser is needed to take the screenshot programatically.

yuanchuan, to random
@yuanchuan@vis.social avatar

📝 Time-based CSS Animations
https://yuanchuan.dev/time-based-css-animations

yuanchuan,
@yuanchuan@vis.social avatar

@kizu That's a strange bug, fixed by wrapping with a calc()

counter-reset: t calc(var(--t));

simevidas, to random
@simevidas@mastodon.social avatar

CSS quiz: Style <div> to produce a staircase design

The only limitation is that you can’t use numerical digits in the CSS code.

Try it out here: https://jsbin.com/cuyuyik/edit?html,css,output

yuanchuan,
@yuanchuan@vis.social avatar

@simevidas
width: 97%

yuanchuan, to random
@yuanchuan@vis.social avatar
yuanchuan,
@yuanchuan@vis.social avatar
yuanchuan, to CSS
@yuanchuan@vis.social avatar
yuanchuan,
@yuanchuan@vis.social avatar

@sarajw They are already originals :)

yuanchuan,
@yuanchuan@vis.social avatar

@sarajw Ah I see. It's hard to share them right now since the original size of the canvas is 2000x and bigger. I have to ship my tool along with them in order to preview in the browser :D

I will open source it one day.

yuanchuan, to random
@yuanchuan@vis.social avatar

New post: Fun with stroke-dasharray
https://yuanchuan.dev/fun-with-stroke-dasharray

yuanchuan,
@yuanchuan@vis.social avatar

@simevidas

Oh, thank you for the feedback, I'll think about it!

yuanchuan,
@yuanchuan@vis.social avatar
yuanchuan,
@yuanchuan@vis.social avatar
yuanchuan, to random
@yuanchuan@vis.social avatar

Maintaining a tailwind website is painful.

yuanchuan,
@yuanchuan@vis.social avatar

@iamdtms My eyes hurt at those long class names

yuanchuan, to random
@yuanchuan@vis.social avatar
yuanchuan,
@yuanchuan@vis.social avatar

@iamdtms Thank you :)

yuanchuan, to random
@yuanchuan@vis.social avatar
yuanchuan,
@yuanchuan@vis.social avatar

@simevidas

Ah maybe it was caused by the DNS server cache. I just transferred all my domains out of Google today.

yuanchuan,
@yuanchuan@vis.social avatar

@simevidas Fixed! Thank you :)

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