News for hackers. Stuff that matters.
Re:A Short Guide to Minimal Web Development (2018) by OutsmartDan on Thursday August 27, 2020 @01:57PM (#24296516)
I would argue that reset style sheets or normalizers should be part of your "minimal web dev" process, even if you roll your own version. There are so many browser nuances that these things fix so that you don't have to hack it later down the line.
Re:A Short Guide to Minimal Web Development (2018) by replies-to-fool on Thursday August 27, 2020 @02:51PM (#24297179)
I think the idea is for you to build your own reset as the need for each individual feature comes up, instead of just throwing in a style sheet and not bothering to understand it.

For example, setting the box sizing properly in order to ensure consistent widths regardless of borders or padding.

Re:A Short Guide to Minimal Web Development (2018) by prashnts on Thursday August 27, 2020 @03:02PM (#24297314)
Also add polyfills.

Few devices (usually the slightly older fw locked devices) which can get a reuse on local net will get some reuse benefit if you added polyfills. I am doing this by conditional "polyfills with SSR" with nginx/lua at the moment. (kindle os/etc. is a pretty good catchall proxy for those browsers; since they still show some html, you can get a very reliable static+interactive (page refresh syncs nicely with the latency) use out of them. (actually, just to periodically update the view of some react page, running headless...)

Edit: Well, that's an extreme, but it has happened that latest react code won't work on a newly unwrapped device still awaiting next fw update).

Re:A Short Guide to Minimal Web Development (2018) by nhooyr on Thursday August 27, 2020 @06:23PM (#24299370)
that used to be true but in 2020 the differences aren’t significant when it comes to css anymore.
Re:A Short Guide to Minimal Web Development (2018) by rimliu on Friday August 28, 2020 @05:30AM (#24302991)
We need less cargo-culting, not more of it.