Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  <html id="root">

  #root#root#root div.legaltext { font-size: 12pt; }
That gives you a specificity that should override everything else. Would only be a problem if some other rule has 3 or more IDs, in which case you can add more here.


css truly is a beautiful language

I'm thankful that I only ever do it in contexts where I control all the CSS and don't have to do silly stuff like that




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: