Audiobooks, Photography and all things tech.
Based in Sofia, Bulgaria
Absolutely no magic numbers, everything computed.
See Pen description for the how behind 😼
#Maths #geometry
Absolutely no magic numbers, everything computed.
See Pen description for the how behind 😼
#Maths #geometry
Can you figure out before checking my @codepen.io solution?
Just 7 #CSS declarations. Sizes, padding, border-radius, shadow, background and ? 🤔
codepen.io/thebabydino/...
Can you figure out before checking my @codepen.io solution?
Just 7 #CSS declarations. Sizes, padding, border-radius, shadow, background and ? 🤔
codepen.io/thebabydino/...
The ancient version, made ~13 years ago on @codepen.io codepen.io/thebabydino/...
... and the `conic-gradient()` version!
codepen.io/thebabydino/...
#CSS
The ancient version, made ~13 years ago on @codepen.io codepen.io/thebabydino/...
... and the `conic-gradient()` version!
codepen.io/thebabydino/...
#CSS
Having fun with eyes. Not creepy at all. 😅
Having fun with eyes. Not creepy at all. 😅
Now using conic-gradient() + mask instead of an SVG segments ring image. CSS grid for layout. Container query units so ring sizes adapt to number of rings (passed to CSS via a var) & available space. And more 🐱
Now using conic-gradient() + mask instead of an SVG segments ring image. CSS grid for layout. Container query units so ring sizes adapt to number of rings (passed to CSS via a var) & available space. And more 🐱
allons-y.llc/posts/2025-1...
allons-y.llc/posts/2025-1...
If you're interested in the how behind, check out my @css-tricks.bsky.social article Taming Blend Modes: `difference` and `exclusion` css-tricks.com/taming-blend...
#CSS
If you're interested in the how behind, check out my @css-tricks.bsky.social article Taming Blend Modes: `difference` and `exclusion` css-tricks.com/taming-blend...
#CSS
andromedagalactic.com/blog/styling...
#css #ui #mvpbuzz
andromedagalactic.com/blog/styling...
#css #ui #mvpbuzz
developer.chrome.com/blog/accessi...
developer.chrome.com/blog/accessi...
www.audible.co.uk/pd/Service-M...
www.audible.co.uk/pd/Service-M...
How to adjust perceived font weight in dark mode without layout shift
nerdy.dev/adjust-perce...
How to adjust perceived font weight in dark mode without layout shift
nerdy.dev/adjust-perce...
codepen.io/kdankov/pen/...
codepen.io/kdankov/pen/...
A quick look at field-sizing and where it can be used. I hope this will land in Firefox and Safari soon. The good thing? We can use it as an enhancement.
🔗 ishadeed.com/article/fiel...
A quick look at field-sizing and where it can be used. I hope this will land in Firefox and Safari soon. The good thing? We can use it as an enhancement.
🔗 ishadeed.com/article/fiel...
use CSS pseudoelements to bridge the :hover gap w/ :has() + inset
a:has(+ .dots) a::after,
.dots + a::after {
position: absolute;
content: '';
}
a:has(+ .dots) a::after { inset: 0 -50% 0 100%; }
.dots + a::after { inset: 0 100% 0 -50%; }
use CSS pseudoelements to bridge the :hover gap w/ :has() + inset
a:has(+ .dots) a::after,
.dots + a::after {
position: absolute;
content: '';
}
a:has(+ .dots) a::after { inset: 0 -50% 0 100%; }
.dots + a::after { inset: 0 100% 0 -50%; }
Can't. Recommend. Enough. 🏆
Anyway, enjoy this free excerpt on JS expressions from the course!
css-tricks.com/an-introduct...
Can't. Recommend. Enough. 🏆
Anyway, enjoy this free excerpt on JS expressions from the course!
css-tricks.com/an-introduct...
Made a demo with various options for angled grid columns. Uses mathematical computations to ensure all fits just right all the time, regardless of viewport or number of columns.
On @codepen.io: codepen.io/thebabydino/...
#CSS #Maths
Made a demo with various options for angled grid columns. Uses mathematical computations to ensure all fits just right all the time, regardless of viewport or number of columns.
On @codepen.io: codepen.io/thebabydino/...
#CSS #Maths
- better import design
- more resilient parser (understands more syntax)
- supports multi-layered gradient imports
- better import design
- more resilient parser (understands more syntax)
- supports multi-layered gradient imports