Massimo Artizzu πŸ‡ΊπŸ‡¦πŸ”±

@MaxArt2501
56 Followers
81 Following
613 Posts
Senior web developer
@Antreem
πŸ”₯ ~ conf speaker πŸŽ™οΈ ~ loves science πŸ”­, art 🎨, rugby πŸ‰ ~ reinventing a better wheel 🎑

We have different methods to center an element vertically and horizontally, but how many exactly?

I did the count, and we can reach 100 different ways! πŸ‘€

https://css-generators.com/center/

The list includes hacky and obsolete methods, but it was a fun exercise to enumerate all the possibilities!

If someone is still complaining about "how to center a div", you know where to send him πŸ˜‰

#CSS #HTML

How to center an element horizontally and vertically

100 different ways to center a single element horizontally and vertically inside a container.

You can access the user’s preferred font-size via `font-size: medium` anywhere on the page. This is true even if you overwrite the user’s preference on the <html> element (by setting a different font-size and changing the value of 1rem).
Gecko: Intent to Ship: CSS View Transitions L1

Gecko: Intent to Ship: CSS Vi...
Intent to Ship: CSS View Transitions L1

https://mltshp.com/p/1R8L2 β€œllm data”

For pete's sake, @mozilla : if you want to measure whether the AI/ML features are worth a damn, put a big green "disable all AI in my browser" button on the version update screen and put some telemetry around how many people instantly click it.

Just about everyone I know who has taken the 142 update is working through about:config menus to toggle off everything under browser.ml.* and grumbling about it, or just straight-up abandoning Firefox in exasperation.

Turn the ship around. *Please*.

Apparently, the statue of Lord Nelson in London is 15 feet tall but in life, he was just over 5 feet in height. That’s a Horatio of 3 : 1

Using AI rots your brain.

Your Brain on ChatGPT: Accumulation
of Cognitive Debt when Using an AI
Assistant for Essay Writing Task: "over the course of 4 months, the LLM group's participants performed worse than their counterparts in the Brain-only group at all levels: neural, linguistic, scoring." https://arxiv.org/pdf/2506.08872 (PDF)

L’Italia non deve usare Starlink di Musk - Firma la petizione! https://chng.it/CrVZc9MjXf via @ChangeItalia
@internet @diggita
@internet@diggita.com
Firma la petizione

L’Italia non deve usare Starlink di Musk

Change.org