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

It’s not enough to explain just only css, we also need an equivalent using css frameworks such as bootstrap, material, and tailwind, since most use frameworks these days


An article about CSS shouldn't need to mention frameworks - it's the framework's job to explain how to use the framework. You wouldn't expect an article about lists in C to explain how to use arrays in PHP...


Are you implying that using a css framework somehow restricts/prevents you from also using normal css in some places?


no. i was just simply implying it be nice if they also had a reference on how to center (both vertically/horizontally) using some of the major CSS frameworks built-in way 'without' resorting to raw CSS.

kind of like a cheat sheet. because the problem i face is that there are just too many ways to center things and wish there was a most recommended method. i come across many articles explaining how to in raw CSS, but not too many using frameworks.

i typically jump from one css frameworks to the next (bs4, material, tailwind) and writing custom css is usually frowned upon if there are already a way to do so built-in by the framework. but it's hard to keep up with these changes so thought it'd be nice if there were some guides or articles for them.


honestly cannot tell if this is sarcastic


At least for bootstrap, most of the relevant classes are essentially aliases for flexbox, so I don't see why it would be much use.




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

Search: