Show newer

RT T. Afif @ CSS Challenges
💡 CSS Tip!
Add a fancy reveal animation to your images using a few lines of code
✅ Only the <img> tag
✅ Less than 10 declarations
✅ Optimized with CSS variables
Demo:
Explanation and more examples 👉

codepen.io/t_afif/full/wvjPpmd
css-tricks.com/fancy-image-dec

:sys_twitter: twitter.com/ChallengesCss/stat

RT Chrome Developers
SVG masks made easy!
🖍️ Fill with gradients
🔦 Adapt to light and dark themes
🎞️ Animatable
Catch @argyleink making some in the latest
Try on Codepen →
See an animated example →
goo.gle/3hvM4PT
goo.gle/3EiTyhV
goo.gle/3NRrHIK

:sys_twitter: twitter.com/ChromiumDev/status

RT Chris Coyier
Resizeable @CodePen Embed?
Add to your pages CSS:
.cp_embed_wrapper {
overflow: hidden;
resize: both;
}
Or just `horizontal`. Maybe a little `margin-inline: auto;` to center if you like that. More tricks in vid.

:sys_twitter: twitter.com/chriscoyier/status

RT Yoav Kadosh
Experimenting with CSS 🧪
I made this 3d mechanical keyboard using a combination of CSS techniques, including transformations, gradients, box/text shadows, filters, and more!
@CodePen :
codepen.io/ykadosh/pen/bGKgxbe

:sys_twitter: twitter.com/yoavikadosh/status

RT Adam Argyle
design tip: (subtle!)
with your wells or inset shadows,
add 2 more shadows to emulate realistic light:
1. a strong thin shadow on top
2. a slight highlight on the bottom
inspect it on Codepen
codepen.io/argyleink/pen/yLEVd

:sys_twitter: twitter.com/argyleink/status/1

RT jhey 🔨🐻✨
Not the easiest thing to make with HTML and CSS though 🤔
But. It's doable! ⚡️
Responsive too.
Trick is layering some pseudo-elements and using set border-radius based on "ch" 🤓
span:after {
content: "";
position: absolute;
inset: 0.25ch;
}
@CodePen link below! 👇
Zander Whitehurst: 🔤 Animating stretchy text in @figma,
supafast

:sys_twitter: twitter.com/jh3yy/status/15896

RT PodRocket
We have been hearing about island architecture a lot lately. Rach Smith (@rachsmithtweets) comes on to talk about islands, why they are in your website, and how they are architected.
Apple:
Spotify:
Google:
apple.co/3FICGSU
spoti.fi/3sX0sTt
bit.ly/3sZqplq

:sys_twitter: twitter.com/PodRocketpod/statu

Re and thanks to @CurleyWebDev for this week's banner. We used Curley's "'80s Inspired Pure CSS graphics" Pen to make it ⭐️
codepen.io/curley/pen/zYrpVXb

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

The November starts now!
This month theme is Design Decades
Each week, we'll take inspiration from decades of computer-focused design
We begin in the 1980s!
Thanks @ionos_com for sponsoring!
codepen.io/challenges/2022/nov

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

RT simey
Played around with some Light and Dark mode
@CodePen
This has no JS, and detects your browser default option. The toggle will set the opposite of your browser default... without JS.
Also some cute UI to emphasize.

codepen.io/simeydotme/pen/MWQG

:sys_twitter: twitter.com/simeydotme/status/

RT Chris Coyier
The CSS property :focus-visible has great support. It means that focus styles don't apply on elements when clicked on with a fine pointer (mouse), but still do from other inputs (like tabbing), which is ideal.
Let's have a play, and make sure we have focus styles no matter what.

:sys_twitter: twitter.com/chriscoyier/status

Show older
小森林

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