Posted By

Piotrek290 on 12/17/09


Tagged

Firefox box ROUNDED webkit SoQ


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

zzgmwei
Piotrek290


SoQ (v. 1.8.2) rounded box (only FireFox and Webkit)


 / Published in: JavaScript
 

  1. $(function(){
  2. $.e.rounded = function(a1){
  3. var a2 = a1||"3px";
  4. this.css("-moz-border-radius:"+a2+";-webkit-border-radius:"+a2+"px;");
  5. };
  6.  
  7. $(".container").rounded("10px");
  8. });

Report this snippet  

You need to login to post a comment.