DEV Community

Cover image for Selectors' Fight
Alvaro Montoro
Alvaro Montoro

Posted on • Originally published at Medium

6

Selectors' Fight

Cartoon with a CSS class selector telling an id selector: “you have no class”. The Id selector replies “and you need to be more specific”

This cartoon was inspired by a joke that Jorge Baumann shared on Twitter (in Spanish), and that I modified/expanded a little:

I should have written an article about CSS Specificity to accompany this cartoon… but last week was especially hectic at work and wasn’t able to carve some time to write it (I will write it, I just haven’t yet).

Links

Spanish version

I also started translating the cartoons into Spanish. Not all have an equivalent, but this one worked just fine:

Cómic con un selector CSS de clase diciéndole a un selector de id: “no tienes ninguna clase”. El selector de id responde “tienes que ser más específico”

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay