fasnix, to javascript
@fasnix@dresden.network avatar

"Be so fast it's fun to use on the worst devices and networks our customers use."

at 2023

https://y.com.sb/watch?v=kYV8K71pY64

Websites could be much lighter, much faster, much more fun to use, if they weren't bloated with loads of unnessecary .

Global traffic distribution could be much less, resulting in much less -emissions.

How the is programmed, has an impact on .










=>

smitten, to webdev

This is pretty interesting. Solid.js just released a big update for SolidStart, which is their fullstack metaframework like Next.js.

They split out the router logic to a separate package to be router agnostic, but you can still use server-side loader functions to prepare data for the route.

The clientOnly wrapper to declare some code as client side only looks really simple. Easier than putting 'use client' everywhere in Next.js modules.

release notes here -

https://github.com/solidjs/solid-start/releases/tag/v0.4.0

j3j5, to CSS
@j3j5@hachyderm.io avatar

On CSS, is there a way to 'clip' the area where a filter is applied?

I want to blur an input with

.myBlurredInput {
filter: blur(3px);
}

BUT, I'd like to blur only the inside, not the border around the input. I've been playing with mask to no avail. Any ideas??

oobleck, to neovim

Is it just me, or does using #neovim make you feel like a #badass?

I get an embarrassing amount of pleasure from tuning my config and using it as a #FrontendDev #IDE.

#typescript #javascript #lua #adhd #dopamine @frontend

kaiserkiwi, to webdev German
@kaiserkiwi@corteximplant.com avatar

Just realized that this is now (since March) possible in all browsers: https://caniuse.com/css-nth-child-of

Short explanation: There is :nth-child() and :nth-of-type().
:nth-child() counts every element.
:nth-of-type() counts every specific element. For example the structure might be:
<header />
<div />
<div class="card" />
<div />
<div class="card" />
<footer />

div:nth-child(2) will target the first <div>.
div:nth-of-type(2) will target the second div (the first with the class .card).

The problem? "of-type" means just the HTML element. so .card:nth-of-type(2) will still select the second div and therefore the first with the class .card.

The pseudo selector from the link allows me to target the second card. With :nth-child(2 of .card) I can select the fourth div and therefore the second one with the class .card. This is really a game changer.

depone, to random German

Falls Du gerade auf der Suche nach einem sinnvollen Freelance-Gig als Frontend-Entwickler*in bist, habe ich hier etwas passendes:

Wir suchen im Rahmen einer Elternzeitvertretung einen Frontend-Entwicklerin (Freelance) im Produkt-Kreis von wemakeit.com

Schau Dir doch mal die Ausschreibung an:

https://wemakeit.com/pages/jobs?locale=de#frontend-developer

markwyner, to webdev
@markwyner@mas.to avatar

Here’s a really meaningful piece from Stephanie Eckles about balancing CSS versatility with reliability. It’s a great foundation for folks newer to CSS and a valuable refinement for the pros. If you write CSS, you’ll want to read it.

https://moderncss.dev/testing-feature-support-for-modern-css/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • everett
  • ethstaker
  • thenastyranch
  • magazineikmin
  • normalnudes
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • ngwrru68w68
  • tacticalgear
  • InstantRegret
  • anitta
  • GTA5RPClips
  • mdbf
  • tester
  • cubers
  • cisconetworking
  • megavids
  • modclub
  • Leos
  • lostlight
  • All magazines