Selectors’ Fight

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

Jorge Baumann.js

@baumannzone


This content originally appeared on DEV Community and was authored by Alvaro Montoro

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”


This content originally appeared on DEV Community and was authored by Alvaro Montoro


Print Share Comment Cite Upload Translate Updates
APA

Alvaro Montoro | Sciencx (2023-03-27T13:19:41+00:00) Selectors’ Fight. Retrieved from https://www.scien.cx/2023/03/27/selectors-fight/

MLA
" » Selectors’ Fight." Alvaro Montoro | Sciencx - Monday March 27, 2023, https://www.scien.cx/2023/03/27/selectors-fight/
HARVARD
Alvaro Montoro | Sciencx Monday March 27, 2023 » Selectors’ Fight., viewed ,<https://www.scien.cx/2023/03/27/selectors-fight/>
VANCOUVER
Alvaro Montoro | Sciencx - » Selectors’ Fight. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/03/27/selectors-fight/
CHICAGO
" » Selectors’ Fight." Alvaro Montoro | Sciencx - Accessed . https://www.scien.cx/2023/03/27/selectors-fight/
IEEE
" » Selectors’ Fight." Alvaro Montoro | Sciencx [Online]. Available: https://www.scien.cx/2023/03/27/selectors-fight/. [Accessed: ]
rf:citation
» Selectors’ Fight | Alvaro Montoro | Sciencx | https://www.scien.cx/2023/03/27/selectors-fight/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.