MacOS in Svelte
A painting of macOS Big Sur in HTML, CSS and JS.
https://macos.vercel.app/
@DevMisc
#webdev #svelte #javascript #css
A painting of macOS Big Sur in HTML, CSS and JS.
https://macos.vercel.app/
@DevMisc
#webdev #svelte #javascript #css
Designing Beautiful Shadows in CSS
When I look around the web, most of the shadows I see are fuzzy grey boxes. It doesn't have to be this way, though!
https://www.joshwcomeau.com/css/designing-shadows/
@DevMisc
#css #web #design
When I look around the web, most of the shadows I see are fuzzy grey boxes. It doesn't have to be this way, though!
https://www.joshwcomeau.com/css/designing-shadows/
@DevMisc
#css #web #design
CSS Is Finally Getting If/Else Statements
When I started coding CSS in 2011 I could never have suspected how much the language would change. I still remember making a PHP script that generated a PNG to round corners.
https://kentondejong.medium.com/css-is-finally-getting-if-else-statements-3fabcec72a1f
@DevMisc
#web #design #css
When I started coding CSS in 2011 I could never have suspected how much the language would change. I still remember making a PHP script that generated a PNG to round corners.
https://kentondejong.medium.com/css-is-finally-getting-if-else-statements-3fabcec72a1f
@DevMisc
#web #design #css
Goodbye CSS Modules, Hello TailwindCSS
Migrating from CSS Modules to TailwindCSS.
https://www.polytomic.com/blog-posts/goodbye-css-modules-hello-tailwindcss
@DevMisc
#css #tailwind #webdev
Migrating from CSS Modules to TailwindCSS.
https://www.polytomic.com/blog-posts/goodbye-css-modules-hello-tailwindcss
@DevMisc
#css #tailwind #webdev
CSS Battle
CSS code-golfing game is here! Use your CSS skills to replicate targets with smallest possible code.
https://cssbattle.dev/
@DevMisc
#css #learn #misc
CSS code-golfing game is here! Use your CSS skills to replicate targets with smallest possible code.
https://cssbattle.dev/
@DevMisc
#css #learn #misc
The 2 Easiest Ways To Improve Your Site's Accessibility
https://youtu.be/A4OftTlVldo
@DevMisc
#web #css #accessibility
https://youtu.be/A4OftTlVldo
@DevMisc
#web #css #accessibility
CSS Gradients that avoid the βgray dead zoneβ
https://www.joshwcomeau.com/css/make-beautiful-gradients
@DevMisc
#css #design #misc
https://www.joshwcomeau.com/css/make-beautiful-gradients
@DevMisc
#css #design #misc
π1
Defensive CSS
A list of defensive CSS techniques to avoid potential future issues.
https://ishadeed.com/article/defensive-css/
@DevMisc
#css #web #tips
A list of defensive CSS techniques to avoid potential future issues.
https://ishadeed.com/article/defensive-css/
@DevMisc
#css #web #tips
This media is not supported in your browser
VIEW IN TELEGRAM
π€£7β€1π1
Smol CSS
Minimal snippets for modern CSS layouts and components.
https://smolcss.dev/
@DevMisc
#web #css #ui
Minimal snippets for modern CSS layouts and components.
https://smolcss.dev/
@DevMisc
#web #css #ui
Modern CSS One-Line Upgrades
https://moderncss.dev/12-modern-css-one-line-upgrades/
@DevMisc
#css #web #learn
https://moderncss.dev/12-modern-css-one-line-upgrades/
@DevMisc
#css #web #learn
π2β€1
Hardest Problem in Computer Science: Centering Things
https://tonsky.me/blog/centering/
@DevMisc
#web #css #learn
https://tonsky.me/blog/centering/
@DevMisc
#web #css #learn
β€2
Can you convert a video to pure CSS?
https://dgerrells.com/blog/can-you-convert-a-video-to-pure-css
@DevMisc (π comments)
#css #web #fun
- It is possible to convert a video into a pure CSS animation, where each pixel of the video is represented by an animated CSS element.
- This technique involves downscaling the video, extracting the pixel data, and generating a massive CSS animation with keyframes for each pixel.
- The process can be optimized by skipping keyframes where the pixel color hasn't changed, but this introduces some visual artifacts.
- An alternative approach uses CSS box-shadows to represent the video pixels, which is simpler and more performant, especially on Chrome browsers.
- Browser support and performance varies greatly, with Safari handling much larger CSS animations than Chrome before crashing.
- The final CSS-based video animation can be further converted into an animated GIF using a library like GIF.js.
- The motivation behind this project seems to be more about the technical challenge and novelty rather than practical application.
- The author emphasizes the importance of style over substance, suggesting this approach could be used for startup landing pages to send a message, even if it crashes most browsers.
- The author hints at the possibility of creating a new file format called ".vibcss" to standardize this CSS-based video approach.
- Overall, the document showcases an innovative, if impractical, technique to push the boundaries of what is possible with CSS animations.
https://dgerrells.com/blog/can-you-convert-a-video-to-pure-css
@DevMisc (
#css #web #fun
Please open Telegram to view this post
VIEW IN TELEGRAM
π2