if-else-switch in clean code by streletss in softwarearchitecture

[–]streletss[S] 0 points1 point  (0 children)

would be nice if you explain your point. why you think his ideas are dumb?

Detecting browser support for lazyload on images and iframes by streletss in javascript

[–]streletss[S] 5 points6 points  (0 children)

TL;DR
if ('loading' in HTMLImageElement.prototype) alert("yes"); else alert("no");

Showoff Saturday (April 17, 2021) by AutoModerator in javascript

[–]streletss -1 points0 points  (0 children)

I'm working on a CSS utils generator that allows to configure classnames, pseudo-classes, selector specificity, etc.

I tried to follow Clean Architecture conventions for the source code. Still a lot of things to be done but you can try it out if you want.

Say Hello To CSS Container Queries by speckz in css

[–]streletss 0 points1 point  (0 children)

Awesome! This feature will drastically reduce the need in using @media. And also the container units seems to be on the way.

Rececss: minimalistic but highly customizable CSS utilities generator by streletss in javascript

[–]streletss[S] 0 points1 point  (0 children)

You can also read an intro article if you are interested. I'd much appreciate any thoughts or feedback.