News for hackers. Stuff that matters.
Re:Round Rects Are Everywhere by gibolt on Monday June 24, 2024 @07:20PM (#40782224)
It is standard for web elements. Very easy to set border radius
Re:Round Rects Are Everywhere by ftio on Monday June 24, 2024 @07:29PM (#40782305)
That hasn’t always been true!

I remember with great displeasure the bad old days of creating a 3x3 table for every container and jamming a rounded corner gif into each of the four corners to create this effect.

Re:Round Rects Are Everywhere by lelandfe on Monday June 24, 2024 @08:13PM (#40782725)
See also the old sliding doors article breathlessly making rounded tabs:

https://alistapart.com/article/slidingdoors/

Re:Round Rects Are Everywhere by aalvarado on Tuesday June 25, 2024 @01:55AM (#40784960)
A list apart was my go to resource for a long time. Css zen garden was great
Re:Round Rects Are Everywhere by gary_0 on Monday June 24, 2024 @09:07PM (#40783138)
I dunno, I look back on the <table>-based layout days with fondness, probably because I was young and the Web was nothing but rolling green fields and endless potential. I didn't see the limitations, only the opportunities for inventiveness. I'll never feel the same satisfaction as I did when those first few website designs came together.
Re:Round Rects Are Everywhere by reddalo on Tuesday June 25, 2024 @03:46AM (#40785635)
I feel like responsive websites killed that magic, because now it's way too complicated to make interesting designs.
Re:Round Rects Are Everywhere by nayuki on Monday June 24, 2024 @11:01PM (#40783949)
Indeed, CSS border-radius was introduced around year 2010. I was both browsing the web and writing pages before that time. https://caniuse.com/?search=border-radius , https://developer.mozilla.org/en-US/docs/Web/CSS/border-radi...
Re:Round Rects Are Everywhere by aalvarado on Tuesday June 25, 2024 @01:53AM (#40784941)
In games you had to do this 9 piece slice, one slice for each of the 4 corners, all 4 straight sides that can be repeated as a pattern and the middle background piece
Re:Round Rects Are Everywhere by filleduchaos on Tuesday June 25, 2024 @02:07AM (#40785025)
Nine-patch image scaling[0] is still a thing, and is only orthogonally related to setting a border radius (it's a hell of lot more versatile than that).

0: https://docs.unity3d.com/Manual/9SliceSprites.html

Re:Round Rects Are Everywhere by kccqzy on Monday June 24, 2024 @07:59PM (#40782607)
Do you not remember a time before border-radius? Or -webkit-border-radius? I remember including a premade rounded rectangle button in Flash just to get that visual effect.
Re:Round Rects Are Everywhere by karaterobot on Monday June 24, 2024 @08:08PM (#40782680)
To be fair, the original comment said other platforms should add this, and border-radius has been widely supported for at least 15 years. You'd have to look hard for a browser that needs it to be added.
Re:Round Rects Are Everywhere by EGreg on Monday June 24, 2024 @07:26PM (#40782277)
Bill Atkinson wasn’t aware of that feature.

Also, Susan Kare didn’t know about vector graphics. That’s why all her icons ended up pixelated! But it was… quite iconic at the time.

Re:Round Rects Are Everywhere by Stratoscope on Monday June 24, 2024 @09:27PM (#40783287)
Whatever Susan Kare knew about vector graphics, that's not why the icons were pixelated.

It was because she had only two colors to work with, black and white, and only two icon sizes, 16x16 and 32x32.

Steve Jobs and Bill Atkinson only got 32x32 B&W icons for their own portraits:

https://www.folklore.org/Steve,_Icon.html

> Icons were only 32 by 32 black or white pixels, 1024 dots in total

Susan posted more examples here:

https://www.behance.net/gallery/81132387/Macintosh-icons

Re:Round Rects Are Everywhere by michaeljsmith on Monday June 24, 2024 @11:13PM (#40784031)
(I think that was the joke)
Re:Round Rects Are Everywhere by Stratoscope on Wednesday June 26, 2024 @03:48AM (#40797377)
Consider me duly and properly whooshed!

It was only when I later re-read the comment I replied to, with the part about Bill Atkinson not knowing about the border-radius feature in CSS, that I realized what was going on.

At least I hope my note about the pixelated icons may have been of interest to a few.

Thanks for keeping me on my toes!

Re:Round Rects Are Everywhere by somat on Monday June 24, 2024 @08:32PM (#40782874)
ahh yes good ol border-radius, more popularly known as web 2.0