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

This is how you can set default styles for all your custom elements:

    :where(:not(:defined)) {
         display: block;
    }


Amazing, I was literally just trying to see if I could figure out how to do this. Thanks!




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

Search: