Skip to main content

Forums

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22635
    bboypkj
    Participant

    hey guys,

    theres a lot of css rounded corner methods out there, but which do you prefer? i’m looking for simplicity
    what are pros/cons of the ones you use?

    #47754
    Chris Coyier
    Keymaster

    This reply has been reported for inappropriate content.

    I have three techniques I pick from when I need to employ rounded corners:

    1) Totally fake it.
    2) Put relative positioning on the element, and put four absolutely positioned div’s inside of it each set to each of the corners that have their respective rounded corner in it.
    3) Use a jQuery plugin (there are several available, just Google around)

    You can use use jQuery for #2 as well, if you want a more home-grown solution. I talk about doing that in this article a bit.

    #47759
    Edwin
    Member

    This reply has been reported for inappropriate content.

    Here is a nice collection with techniques how you can do it: http://cssgallery.info/rounded-cornes-css/

    Personally I really like the cropping corners technique

    #47763
    box
    Member

    This reply has been reported for inappropriate content.

    CSS 3.0 has now given us the border-radius property – it looks rubbish though lol. But a sign of good things to come? :D

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
icon-link icon-logo-star icon-search icon-star