Welcome to Gaia! ::

I was wondering what the code was for making the boxes with curved sides instead of pointy sides?

.panel, .panel h2 {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}


The greater the radius, the bigger the curve, and vice-versa. The three lines are the commands for different browsers, so whatever radius you use, you'll want it to be the same in all three. wink
Knight Yoshi's avatar
  • 300
  • 200
Khristalia

faolan

Border radius is a CSS3 standard so all you need is
.panel {border-radius: 10px;}
Knight Yoshi
Khristalia

faolan

Border radius is a CSS3 standard so all you need is
.panel {border-radius: 10px;}

*facepalm* I keep forgetting CSS3 isn't just a distant dream anymore... xp

Quick Reply

Submit
Manage Your Items
Other Stuff
Get Items
Get Gaia Cash
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff