RT Ksenia Kondrashova
New pattern!
A Voronoi diagram (love it) with eyes calculated over the polar coordinates of each cell. No images or graphic libs here, just a shader wrapped with JS
Live demo & source code: codepen.io/ksenia-k/full/poYZp
Hosted on @CodePen
Special thx to @bookofshaders

:sys_twitter: twitter.com/CodePen/status/175

RT Spencer Yonce
Just finished the challenge for this week!
The prompt was "Leap Year"
Here is what I made!!
You can see my code here: codepen.io/spenceryonce/pen/zY

:sys_twitter: twitter.com/CodePen/status/175

RT Konstantin Denerz
This post 😍 inspired me to create a simple blob switch with an SVG filter ✨.
@CodePen
codepen.io/konstantindenerz/pe

<div class="rsshub-quote">
Matia: You can do blobs with CSS filter but it only works as black or white as far as I know but you can use SVGs to achieve the result you want.
</div>
:sys_twitter: twitter.com/CodePen/status/175

RT GSAP
💚 What a year for demos! Always so much fun to see the creativity that comes out of this community.
Keep on making magic folks!
Here are our favourite @codepens from 2022
✨ Have we missed your demo? Post it in the thread below.
cdpn.io/pen/debug/wvxdZqr

:sys_twitter: twitter.com/CodePen/status/175

If you write in JSX and sometimes use `style={}` for quick styling, and sometimes wish you could define hover styles or @​​ media styles, well, that's what CSS Hooks is for and it does a pretty good job!
css-hooks.com/docs/react/getti
Example: codepen.io/chriscoyier/pen/PoL

:sys_twitter: twitter.com/CodePen/status/175

"Easy flexible gallery grid" by Jordan
codepen.io/DeyJordan/pen/ExOGR
Force the height, let them grow or shrink, no squishing with `object-fit`, and just let flexbox do flexbox.

:sys_twitter: twitter.com/CodePen/status/175

RT T. Afif @ CSS Challenges
💡 CSS Tip!
Use the magic border-image and add as many borders as you want to your images for a fancy decoration
✅ No extra elements & No pseudo-elements
✅ Only one gradient
✅ Optimized with CSS variables
Demo: codepen.io/t_afif/full/JjzpwyL via @CodePen

:sys_twitter: twitter.com/CodePen/status/175

RT Álvaro Montoro
This slider is a single HTML tag styled with CSS. No images and no JS (apart from an inline command.) It's responsive and works on all major browsers.
It uses:
- Custom properties
- Filters
- Container queries
- Trigonometry functions
Demo on @CodePen: codepen.io/alvaromontoro/pen/o

:sys_twitter: twitter.com/CodePen/status/175

RT Ecem Gokdogan
Guess the Movie
If you manage to correctly guess all the titles, you'll win the game. However, keep in mind that a single typo will end the game.
codepen.io/ecemgo/pen/eYXVpGp
@CodePen

:sys_twitter: twitter.com/CodePen/status/175

RT Amit Sheen
That's what I did for this week's - a 3D dial graph slash round progress bar (you can use it however), completely dynamic, everything is set and calculated with tons of custom properties and lots and lots of calc() functions (well, that was the challenge 😎).…

:sys_twitter: twitter.com/CodePen/status/175

RT Ksenia Kondrashova
Möbius strip geometry 🤝 Hacked MeshNormalMaterial
The new elegant @threejs toy here!
Insert just 2 lines of code to the original shader with .onBeforeCompile and get a whole range of gorgeous gradients
Live demo & source code: codepen.io/ksenia-k/pen/NWJaBZ
Hosted on @CodePen

:sys_twitter: twitter.com/CodePen/status/175

RT Amit Sheen
If you're doing the this week, I made you a little 'cheatsheet' on sin(), cos(), and tan(), with all the relevant formulas.
And if you want to see what cool things you can do with and some math, join me for tomorrow's live stream. 😊
<div class="rsshub-quote">
Amit Sheen: ▶️ Live stream!
I love the @CodePen challenges, but I haven't done one in a long time, so I'm going to do this week's challenge - Live!
And since this week's topic is 'CSS Mathematics', I'll try to do a weird idea I had for a while now, using a whole bunch of calcs and trig…
</div>
:sys_twitter: twitter.com/CodePen/status/175

Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。