Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Level Up Your CSS Skills with These Pro Tips (github.com/allthingssmitty)
2 points by AllThingsSmitty on Sept 12, 2017 | hide | past | favorite | 3 comments



> border-right: none;

Shouldn't this be border-right: 0;


Hmm, interesting. Since `border-right` is shorthand, we're saying that `0` as a value is applied to `border-right-width`, `border-right-style`, and `border-right-color`. The `0` value can be applied to `width` but not to the other properties.


That is interesting! Why can't it be applied to any other properties?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: