Posts by HiGustavo • 51 points
1 post
-
5
votes1
answer1030
viewsQ: What is the difference between :first-Child and :first-of-type in CSS?
I was writing a line of code and I was ready to type :first-of-type to change a certain element. That’s when I got the doubt: I must use first-of-type or first-child? Since both present the same…