Search
Items tagged with: Coding
#tinySVGtip Better gooey effect with no matrix filter!
Each particle can get its own CSS blur filter with a value that may be any unit (SVG doesn't support this).
The assembly containing them gets an SVG filter as below.
Heavily commented on @codepen: https://codepen.io/thebabydino/pen/NWVdKaG
#CSS #SVG #filter #cssFilter #svgFilter #goo #gooey #blob #blobby #blur #alpha #code #coding #frontend #webDev #web #dev #webDevelopment
7β£ 545 β€οΈ Cycling gradient glow - no text duplication https://codepen.io/thebabydino/pen/rNPOpJK
A simple #SVG filter trick.
We create the gradient text.
The filter creates a blurred copy of it and places it underneath.
We then animate the gradient stops... magic! πͺβ¨
#css #svgFilter #filter #filterEffect #glow #text #textEffect #textGlow #cssGradient #code #coding #frontend #web #webDev #dev #webDevelopment
6β£ 688 β€οΈ Pure #CSS 1 div card patterns (no SVG, no images other than CSS gradients) https://codepen.io/thebabydino/pen/NWxBzRv
A variation on the pure CSS halftone technique https://mastodon.social/@anatudor/112401133442879091
#halftone #pattern #gradient #cssGradient #blendMode #blending #fliter #cssFilter #code #coding #frontend #web #webDev #dev #webDevelopment
Ana Tudor π― (@anatudor@mastodon.social)
Attached: 1 image #tinyCSStip You may have seen some of my demos using this on #CodePen already. Here's the how behind it.Mastodon
5β£ 723 β€οΈ No SVG, no image fluid slider with input[type=range] https://codepen.io/thebabydino/pen/qByGqOm
JS used only for
a) feature support detection
b) updating slider value in a --val
Uses only
1 Γ input[type=range] for actual slider
1 Γ output for current value display
1 Γ datalist for ruler
#css #slider #code #coding #frontend #control #web #webDev #dev #webDevelopment
4β£ 736 β€οΈ Pure #CSS MΓΆbius 6hedrons https://codepen.io/thebabydino/pen/mJojKd
The how behind I live coded it in 30 minutes https://css-tricks.com/how-i-live-coded-my-most-hearted-codepen-demo/
Could be improved with CSS variables nowadays, see https://css-tricks.com/simplifying-css-cubes-custom-properties/ as well as by using CSS trigonometric functions.
#3D #transform #css3D #code #coding #looping #animation #cssAnimation #frontend #web #webDev #dev #webDevelopment
Simplifying CSS Cubes with Custom Properties | CSS-Tricks
I know there are a ton of pure CSS cube tutorials out there. I've done a few myself. But for mid-2017, when CSS Custom Properties are supported in all majorAna Tudor (CSS-Tricks)
3β£ 747 β€οΈ no sprite, no JS twitter π€ animation https://codepen.io/thebabydino/pen/RRRRZE
Behind demo https://css-tricks.com/recreating-the-twitter-heart-animation/
Now twitter uses an SVG heart π (that path data though π΅) and upon clicking, inserts a div with the sparks. There are better ways to do it... still better than sprites!
#css #svg #code #coding #frontend #web #webDev #webDevelopment #dev
Recreating the Twitter Heart Animation (with One Element, No Images, and No JavaScript) | CSS-Tricks
I recently saw a recreation of the Twitter heart animation among the picks on CodePen. If I happen to have a bit of time, I always look through the code ofAna Tudor (CSS-Tricks)
2β£ 841 β€οΈ neon hex https://codepen.io/thebabydino/pen/zGmdep
Most people know my CSS stuff, but this was my most hearted Pen for some three quarters of a decade... and it's a #canvas one! The JS feels dated nowadays, but oh, well... still my favourite out of this top 3.
#js #javascript #code #coding #frontend #web #dev #webDev #webDevelopment
I turn 12 on @codepen in less than a month, so here are my most hearted demos ever:
1οΈβ£ 955 β€οΈ Pure CSS gravity button https://codepen.io/thebabydino/pen/bGzeQrv
My only demo to ever pass 850 β€οΈ - a bit mixed about it, it was just an exercise in getting a certain result - please don't use it in the wild!
#css #pureCSS #gravity #button #code #coding #frontend #web #dev #webDevelopment #webDev
8β£ 496 β€οΈ Pure #CSS 3D toggle with only input[type=checkbox] + label https://codepen.io/thebabydino/pen/ajpqYW
(awfully hacky, but cool-looking result... which nowadays I'd probably try to get with an SVG filter π€)
#3d #toggle #checkbox #css3D #code #coding #frontend #web #webDev #webDevelopment #dev
#hackerspace #hacking #hackingtools #hackingtips #cybercrimen #coding #SnoopGod #SnoopGodLinux #Ubuntu https://techcrunch.com/2024/05/22/spyware-found-on-hotel-check-in-computers/?guccounter=1&guce_referrer=aHR0cHM6Ly9jeWJlcnNlY3VyaXR5dmVudHVyZXMuY29tLw&guce_referrer_sig=AQAAAMsGNB5AcluHPSE7rd5Na45NSg-uidGTD9Jj3_FffKYwVMceGRp6sCXORd8hsUB8Mcm__HF4MCWIE3eMQPi03RBijPZXTubx1bh6lx21N4_emEDJqNrO1xs6jO0VFzbt3SLa-t9ScgbcBvbkhZ_bkdLNE_H02eWWLIbVPngJxj-z
Double bubble! π«§
On scroll text bubble up effect with 1 div, no text duplication, no JS - just a little bit of #CSS trickery and a simple #SVG #filter! πͺ
Live on @codepen
https://codepen.io/thebabydino/pen/NWmBmrZ
#CodePenChallenge #svgFilter #CodePen #text #textEffect #code #coding #frontend #webDev #webDevelopment #web #dev #scrollAnimation
#tinySVGtip How do you create an *inset* shadow on an `img` element?
You might think inset `box-shadow`, but it doesn't work! Really, there are tons of articles & questions on StackOveflow on this very topic.
SVG filters to the rescue for an elegant solution!
β¨ offset & blur image
β¨ subtract it out of original image alpha β get black inner shadow
β¨ paint it π
β¨ place it on top of img
#SVG #filter #inset #shadow #image #svgFilter #code #coding #frontend #webDev #webDevelopment
Here's a starting point for a fediverse StackExchange: Make sure it's interoperable with Lemmy.
Now, you may not get the full feature set on Lemmy, but you should be able to interact with it from Lemmy as if it's a group on there.
Mike Conley is a Firefox developer and creator of the long-running video series "The Joy of Coding". You can follow the videos at:
β‘οΈ @mconley@diode.zone
If the videos haven't federated to your server yet, you can browse them all at https://diode.zone/a/mconley/videos
You can also follow Conley's general account at @mconley@mozilla.social
#FeaturedPeerTube #Programming #Coding #Dev #SoftwareDevelopment #Developers #Firefox #Mozilla #PeerTube #PeerTubers
Mike Conley
Diode Zone is a friendly place for original content with a focus on creativity and electronics!Diode Zone