Hacker News new | past | comments | ask | show | jobs | submit login

> values that describe the nature of the content vs > rather than values that describe the desired presentation of the content.

Or could it be that the meaning here is that you should write descriptive classes such as 'alert-box' instead of 'red-box'.




But that gets your "not just for styling" property for free — now another component can use the knowledge that the element is an alert box.




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

Search: