Activity Stream
48,167 MEMBERS
6800 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 7 of 7

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    The newest versions of Opera, Safari and Chrome support the
    border-radius property.

    SO there's no need for the
    -webkit-border-radius: 20px;
    Firefox and IE are the only ones that need an extra line atm.

    To prove:
    I coded a simple proxy design, here's the code I used and screenshots from each browser.

    Code: 
    #main {
        background: #fff;
        width: 590px;
        min-height: 250px;
        border-radius: 15px;
        -moz-border-radius: 15px;
        padding: 10px;
        padding-top: 20px;
        color: #888;
        font-size: 12px;
    }
    
    #input {
        background: #e7e7e7;
        -moz-border-radius: 5px;
        border-radius: 5px;
        border: 1px solid #9c9c9c;
        padding: 10px;
        font-size: 12px;
    }
    #main is the white area.
    #input is the text input to type the url.

    in Firefox 3.6.10


    in Google Chrome 6.0.472.63


    in Apple Safari 5.0.2


    in Opera 10.63
    snowmanrene Reviewed by snowmanrene on . Tutorial - Rounded corners w/o images pure CSS The easy part ? Firefox, Safari & Chrome It?s best to avoid hacks if at all possible, and luckily Firefox, Safari and Chrome all support rounded corners through native CSS methods. Let?s apply a border-radius of 20 pixels to everything with the class ?rounded-corners?: .rounded-corners { -moz-border-radius: 20px; -webkit-border-radius: 20px; -khtml-border-radius: 20px; border-radius: 20px; } Rating: 5
    This is the staff, you have been banned

  2.   Sponsored Links

  3.     
    #2
    Banned
    Quote Originally Posted by snowmanrene View Post
    The newest versions of Opera, Safari and Chrome support the
    border-radius property.
    But there are people with outdated browsers too

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Website with rounded borders.
    By -Im.z2ight- in forum General Discussion
    Replies: 2
    Last Post: 4th May 2011, 10:05 AM
  2. Kaspersky PURE!
    By Darth Vader in forum General Discussion
    Replies: 0
    Last Post: 10th Apr 2010, 06:35 AM
  3. Pure Playa
    By Pure Playa in forum Introductions
    Replies: 22
    Last Post: 2nd Jan 2010, 04:29 PM
  4. Simple Rounded image (Facebook style)
    By litewarez in forum Tutorials and Guides
    Replies: 11
    Last Post: 11th Dec 2009, 06:25 PM
  5. [WTS] Rounded Blue Design.
    By Luke in forum Completed Transactions
    Replies: 0
    Last Post: 9th May 2009, 08:29 PM

Tags for this Thread

BE SOCIAL