https://thebabydino.github.io/
It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!
It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!
Live demo on @codepen.io: codepen.io/thebabydino/...
#CSS
Live demo on @codepen.io: codepen.io/thebabydino/...
#CSS
This cat's equipment is no joke.
#tiger 🐯 #Wilhelma #Stuttgart
This cat's equipment is no joke.
#tiger 🐯 #Wilhelma #Stuttgart
Well, 🍌 tree-lookalike. There's no wood trunk, there are just those huuuge leaf stems (the so called "dwarf" varieties have 3m stems).
Also: a cluster of bananas may weigh more than me.
(hate I even need to specify this, but not AI, all photos taken by me @ Wilhelma in Stuttgart)
Well, 🍌 tree-lookalike. There's no wood trunk, there are just those huuuge leaf stems (the so called "dwarf" varieties have 3m stems).
Also: a cluster of bananas may weigh more than me.
(hate I even need to specify this, but not AI, all photos taken by me @ Wilhelma in Stuttgart)
❇️ ko-fi.com/anatudor
❇️ www.patreon.com/c/anatudor
#CSS #SVG
❇️ ko-fi.com/anatudor
❇️ www.patreon.com/c/anatudor
#CSS #SVG
It took 3 weeks to write and being able to come up with the solution in there is the result of years of work. Just under the svg-filter tag, there are hundreds of demos on my @codepen.io codepen.io/thebabydino/...
#SVG
It took 3 weeks to write and being able to come up with the solution in there is the result of years of work. Just under the svg-filter tag, there are hundreds of demos on my @codepen.io codepen.io/thebabydino/...
#SVG
Talent500, who have a gold check account on twitter, copied a few bits of my article that I worked for 3 weeks on. Could not even be bothered to copy enough to get to a working solution, stopped at intermediary steps. And "forgot" to give credit.
Talent500, who have a gold check account on twitter, copied a few bits of my article that I worked for 3 weeks on. Could not even be bothered to copy enough to get to a working solution, stopped at intermediary steps. And "forgot" to give credit.
Can you guess without looking up?
www.youtube.com/watch?v=qc98...
Too cryptic?
www.youtube.com/watch?v=vYNA...
Not enough?
www.youtube.com/watch?v=CO8C...
Oh, come on!
www.youtube.com/watch?v=WBs3...
Can you guess without looking up?
www.youtube.com/watch?v=qc98...
Too cryptic?
www.youtube.com/watch?v=vYNA...
Not enough?
www.youtube.com/watch?v=CO8C...
Oh, come on!
www.youtube.com/watch?v=WBs3...
Guess I'm just too used to the guardrails because my most common uses are for angles and similar.
Guess I'm just too used to the guardrails because my most common uses are for angles and similar.
We can get the sign of the difference
--sgn: sign(100vw - var(-cutoff))
a bit value (0 if sign is -1 or 0, 1 otherwise)
--bit: round(down, .5*(1 + var(--sgn)))
finally
border-radius: calc(var(--bit)*8px)
#tinyCSStip #CSS
We can get the sign of the difference
--sgn: sign(100vw - var(-cutoff))
a bit value (0 if sign is -1 or 0, 1 otherwise)
--bit: round(down, .5*(1 + var(--sgn)))
finally
border-radius: calc(var(--bit)*8px)
#tinyCSStip #CSS
This is what subgrid was made for!
#CSS
This is what subgrid was made for!
#CSS
Full 3D form option vs. weird 2D shape. Which do you prefer?
#CSS
Full 3D form option vs. weird 2D shape. Which do you prefer?
#CSS
(you have no idea how grateful I am this is happening and how relieved I am to have something to force me to take a break...)
(you have no idea how grateful I am this is happening and how relieved I am to have something to force me to take a break...)
❇️ ko-fi.com/post/CSS-cus...
❇️ www.patreon.com/posts/pure-c...
#CSS
❇️ ko-fi.com/post/CSS-cus...
❇️ www.patreon.com/posts/pure-c...
#CSS
Signed, an authentic Transylvanian vampire.
And lots of metal bands agree. See Kreator's most recent single, Tränenpalast, inspired by the 1977 horror Suspiria, Iron Maiden's The Red and the Black. Or Red Before Black by Cannibal Corpse.
Signed, an authentic Transylvanian vampire.
And lots of metal bands agree. See Kreator's most recent single, Tränenpalast, inspired by the 1977 horror Suspiria, Iron Maiden's The Red and the Black. Or Red Before Black by Cannibal Corpse.
(for context www.reddit.com/r/css/commen...)
#CSS
(for context www.reddit.com/r/css/commen...)
#CSS
How would you code this (pad non-square image to square with blurred version of itself) using:
✳️ a single `img` elem, no wrappers/ pseudos
✳️ at most 4 #CSS declarations (without the grid layout)
✳️ an #SVG `filter`
How would you code this (pad non-square image to square with blurred version of itself) using:
✳️ a single `img` elem, no wrappers/ pseudos
✳️ at most 4 #CSS declarations (without the grid layout)
✳️ an #SVG `filter`
Live demo on @codepen.io: codepen.io/thebabydino/...
How would you do this? Try to think about it before checking my solution!
Live demo on @codepen.io: codepen.io/thebabydino/...
How would you do this? Try to think about it before checking my solution!