Share

rounded corners in CSS that don’t suck

June 13, 2008 by: dave

So my friend Perkiset had asked me yesterday if I know of a CSS rounded corners method that wasn't a hack, kludge, voodoo, workinonlyonebrowser, piece of crap. I had one that works great for fixed width boxes, and is very simple to deal with, but nothing that could use the same box build for different sized boxes, for the most part at least. Well perkiset grabbed a hold of something I said in the way I do my rounded boxes, and ran with it.

It's funny to see how a problem gets tackled and solved by a programmer, as opposed to the supposed web gurus who "know how to do html". Web gurus get so hung up on trying to do it all with 1 div that they come up with all kinds of crazy hacks. Frankly that is a shitty plan, because today's hack, may be considered tomorrow's bug, and get squashed. so to fit with the general programmer principle of "use the correct tool", perk decided to tackle it, and the result, although can be argued is similar to some other solutions out there, I think it's actually quite a bit easier to deal with and understand. Basically, it's been made into a copy/paste chunk that can be easily used by anyone with the slightest skillset. this allows for PNG transparency corners as well. Like this picture of my little demon princess . Yes they are not "technically" rounded, but thats only because I didn't use ROUNDED corners. It's just a graphic. Perkiset's CSS rounded corners


1 Comment about: "rounded corners in CSS that don’t suck"

Posted by perkiset on June 13, 2008 at 09:03 PM

Most kind NBs… and a f’reals link to boot!
Doesn’t get much better than that wink
-----


Name:

Email:

URL:

Remember my personal information

Notify me of follow-up comments?

Please enter the word you see in the image below:


Recent Posts

34 year old walmart worker trampled to death this morning

Dildos for kids for Xmas? Unfortunate Picture…

Pericarditis Sucks Balls

It’s Over. Obama is the next president of the United States.

Go Vote, regardless of the news

LOL @ CNN stupid Hologram Star Wars Dumbness

Park vs Resort

He Didn’t Vote for Obama. Compelling.

Go Vote. Don’t be a dick.

Are Texans completely Retarded and Ignorant?

Tag Cloud

3d ad ads advertising air conditioning airplane alaska alien amazon animation apocalypse app store apple art askimet astronaut astronomy audiobook award ayers az baby bailout battery beer bestbuy biden big brother blog bluetooth book banning brain brave broadband broken bug bugs bulb business calculator calendar camera camping camwhore candle candy cannibal captcha car carbon

All Tags >>

Blogroll

David Barchas

Ashley Barchas

Jenny North

Politics @ Perkiset's

Smartest Human Alive

Stereoshock

Feeds

Posts

Comments