+ 3

How do I use two different Pseudo type elements in one line of code? Or is it even possible to do so?

For example, let's say I want to target the first-child element and before that first-child, I want to insert an image icon. (::before) + (:first-child)

29th Sep 2020, 12:36 PM
Dzikamayi Mhete
Dzikamayi Mhete - avatar
1 ответ
+ 2
<img src= "first.png"> css body > Img { }
29th Sep 2020, 12:38 PM
LIONEL
LIONEL - avatar