PROJET AUTOBLOG


le hollandais volant links

Site original : le hollandais volant links

⇐ retour index

harveybars sur Twitter : "How about this one?.red p { color: red; }.blue p { color: blue; }What color would the paragraphs be?<div class="blue"> <p> first </p> <div class="red"> <p> second </p> </div></div>… https://t.co/QxG5dJRs9j"

samedi 8 septembre 2018 à 14:06

Deux quiz CSS.

La première :
https://twitter.com/mxstbr/status/1038073603311448064

La seconde :
https://twitter.com/hrvbrs/status/1038105898848317440

La meilleure chose à faire, c’est de tester. Ça vous donnera la réponse.
Ensuite il faut chercher à comprendre.

(Spoiler Alert)

Réponse : tout est bleu. Dans les deux cas.


— (permalink)