Results 1 to 7 of 7
Hybrid View
-
16th Oct 2010, 05:33 PM #1Member
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; }
#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: 5This is the staff, you have been banned
-
17th Oct 2010, 03:50 AM #2
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Website with rounded borders.
By -Im.z2ight- in forum General DiscussionReplies: 2Last Post: 4th May 2011, 10:05 AM -
Kaspersky PURE!
By Darth Vader in forum General DiscussionReplies: 0Last Post: 10th Apr 2010, 06:35 AM -
Pure Playa
By Pure Playa in forum IntroductionsReplies: 22Last Post: 2nd Jan 2010, 04:29 PM -
Simple Rounded image (Facebook style)
By litewarez in forum Tutorials and GuidesReplies: 11Last Post: 11th Dec 2009, 06:25 PM -
[WTS] Rounded Blue Design.
By Luke in forum Completed TransactionsReplies: 0Last Post: 9th May 2009, 08:29 PM
themaCreator - create posts from...
Version 3.55 released. Open older version (or...