ThemeForest

Are we allowed to use moz and webkit border-radius syntax ?

133 posts
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Sold between 100 000 and 250 000 dollars
starshade says

So there is this non valid stuff to make rounded corners in css:

-moz-border-radius: 10px;
-webkit-border-radius:10px;
border-radius:10px;

Basically border-radius property is not supported by browsers, but some time in the future I guess it will be. My question is, since these hacks for firefox and safari do not pass validation, am I allowed to use them in a html template for theme forest ? I want to have rounded corners on some boxes and buttons and the easiest way to achieve this is to use the above syntax(and yes I know this won’t work on any ie, but I’ll accept this compromise for now).

Starshade

993 posts
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • France
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Contributed a Tutorial to a Tuts+ Site
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+4 more
Pixelworkshop says

Yes, you could also put them in a separate CSS for the people who need 100% validation so it’s easy to remove :)

162 posts
  • Bought between 1 and 9 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 50 000 and 100 000 dollars
+1 more
ponjoh says

I actually recommend that you use them. The site works without them, but people with newer browsers can enjoy the enhanced visuals. That’s what progressive enhancement is all about.

As Keliah said, put them in a separate stylesheet, because some people will want their site to be completely valid.

133 posts
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Sold between 100 000 and 250 000 dollars
starshade says

Sounds great then :) It’s a lot easier to do this rather than slicing images and writing quite a lot of css to make a rounded box. Thanks for answers, hope there won’t be a problem with this when the item will be reviewed.

993 posts
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • France
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Contributed a Tutorial to a Tuts+ Site
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+4 more
Pixelworkshop says

Don’t worry, I got a template using CSS3 , you can also have a look here

629 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • United States
VagrantRadio says

Use all the new specs for CSS3 , even html5 if you want! :)

by
by
by
by
by