Css3 rounded corners not working in Chrome? |
This is a discussion on Css3 rounded corners not working in Chrome? within the Browser Issues forums, part of the Web Design category; Css3 rounded corners not working in Chrome? This works in Firefox, but not Chrome... btw... I know it doesn't work ... |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Whacked Join Date: Jun 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
![]() Expertise: Total Beginner Experience: Basic / None | Css3 rounded corners not working in Chrome? This works in Firefox, but not Chrome... btw... I know it doesn't work in ie... ie sucks -moz-border-radius: 0.5em 0; -moz-box-shadow: 1px 1px 4px #111; any suggestions on how to get it to work in chrome? |
| | |
| | #2 |
| Member Join Date: Jul 2009
Posts: 211
Thanks: 0
Thanked 19 Times in 18 Posts
![]() Expertise: (X)HTML / CSS Experience: Quite Good |
You're using the Mozilla-specific prefix -moz (Firefox is a Mozilla browser). To make it work in Chrome (and Safari), you need to add the webkit-specific equivalent (-webkit...). Here's a tutorial. |
| | |
| | #3 |
| Member Join Date: Apr 2010 Location: South Africa
Posts: 49
Thanks: 0
Thanked 3 Times in 3 Posts
![]() Expertise: (X)HTML / CSS Experience: Intermediate |
Hi this covers, safari and chrome (web-kit), firefox and other mozilla browsers as well as opera: Code: -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; Code: -moz-box-shadow: 1px 1px 5px #2D2B35; -webkit-box-shadow: 1px 1px 5px #2D2B35; box-shadow: 1px 1px 5px #2D2B35; Last edited by cew; 21st June 2010 at 12:16 PM.. |
| | |
| | #4 |
![]() Join Date: Jan 2009
Posts: 782
Blog Entries: 16 Thanks: 17
Thanked 35 Times in 35 Posts
![]() ![]() Expertise: Design & Graphics Experience: Quite Good |
Cheers Cew. I was searching google for the code as I always forget it and this page comes up on the first page for "css3 rounded corners" :) |
| | |
![]() |
| Tags |
| chrome, corners, css3, rounded, working |
| Thread Tools | |
| Display Modes | |