One Weird Trick to Try @parcel/css on CodePen

Category Image 091

Ideally, we’d just offer @parcel/css as a CSS processor choice right in our editors. We could absolutely do that, but we’re smack in the middle of a bunch of next-gen CodePen stuff, and we’re keeping our efforts focused there. Never fear, interesting new processors like this will be there along with it. But this CSS processor caught my eye especially because it’s a very fresh, modern, and interesting take on CSS processing. It handles vendor prefixing on its own (something you might otherwise use Autoprefixer for), it handles “syntax lowering” (love that term) for future-syntax CSS (like you’d use postcss-preset-env for), offers scoping, and even has its own built-in minifier, while being super fast. Nice!

So what if you do wanna try it on CodePen? Well, it’s actually possible because they have cleverly released the processor with a Wasm option, not just a backend-language-only thing. So here’s the plan:

  1. Load the processor in the browser as a script (go Wasm go!)
  2. Pull the CSS from the current Pen
  3. Pass that CSS to the in-browser processor we just loaded
  4. Get the transformed CSS
  5. Replace the CSS in the preview with the transformed CSS

Check it:

The post One Weird Trick to Try @parcel/css on CodePen appeared first on CodePen Blog.

Google Releases New Meet Live Sharing SDK

Featured Imgs 23

Last week at Google’s annual developer conference, Google I/O 2022, the company announced a new SDK to enable developers to facilitate shared experiences within Google Meet.  The new Google Meet Live Sharing SDK expands the platform’s ability to provide synchronized content sharing and interaction.  

Google highlighted the value of this new SDK in a blog post that stated:

Augmented Analytics: The Future of Business Intelligence

Featured Imgs 29

It is more important than ever to access accurate and timely data in a rapidly changing business landscape. Unfortunately, the traditional business intelligence methods are no longer adequate to meet the needs of modern businesses. Augmented analytics is a new approach that combines the best of human expertise with the power of artificial intelligence to provide previously unattainable insights. 

This technology is already being used by quite a few of the world’s leading companies to gain a competitive edge.