R
Reactiflux

✅ – Cosec – 16-19 Oct 5

✅ – Cosec – 16-19 Oct 5

CCosec10/5/2022
how to have a css/js selector using both id and name? ok got it. It is by
#id[name="nameInthatID"] { //styling }
#id[name="nameInthatID"] { //styling }
UUUnknown User10/5/2022
2 Messages Not Public
Sign In & Join Server To View
SScriptyChris10/5/2022
Regarding id, it depends what specificity do you want. # gives the highest selector specificity, but if you do [id="some-id"] then whole selector will have lower specificity, because it will be ID vs attribute selector So #id[name="nameInthatID"] will get higher specificity than [id="id"][name="nameInthatID"]
CCosec10/5/2022
I see 🤔
UUUnknown User10/6/2022
Message Not Public
Sign In & Join Server To View

Looking for more? Join the community!

R
Reactiflux

✅ – Cosec – 16-19 Oct 5

Join Server