RSS FeedTwitterMastodonBlueskyShare IconHeart IconGithub IconArrow IconClock IconGUI Challenges IconHome IconNote IconBlog IconCSS IconJS IconHTML IconShows IconGit IconSpeaking IconTools IconShuffle IconNext IconPrevious IconCalendar IconCalendar Edit Icon
A series of images of an avatar doing a bunch of skateboard tricks.
atom@argyleink
notecss

Saw this on a skateboard, had to make it in CSS.

background: repeating-linear-gradient(
  to bottom, 
  #000 0px var(--_stripe-size), 
  #fff var(--_stripe-size) var(--_stripe-gap)
);

Ended up not just being gradient text, but a repeating gradient text effect 🤓

Fun: CSS can repeat a repeating gradient

CSS in a pattern on a pattern

Join the conversation on

48 likes
2 reposts
  • NerdGirlXena
  • Jack Iakovenko
not just gradient text, #CSS repeating gradient text nerdy.dev/repeating-li...
Adam ArgyleAdam Argyle
`to bottom` is the default, not needed. First position can be just `0` for both stops. This produces the same result: repeating-linear-gradient(black 0 10px, white 0 20px) For `60deg`, you get jagged edges. The `1px` fix bsky.app/profile/anat... works through.
Ana TudorAna Tudor
It's interesting that as I scroll this on mobile, it also appears to animate though it's either an optical illusion or an artifact of the display trying to keep up
Sia KaramalegosSia Karamalegos
def some sub pixel tricks goin on
Adam ArgyleAdam Argyle
excellent tips!
Adam ArgyleAdam Argyle
You’re a wizard!!!
Jon EllwoodJon Ellwood
Trippy! Now make it do this: www.youtube.com/watch?v=RNhi... ????
FjonanFjonan

Crawl the CSS Webring