CSS3 and Mozilla Border Radius Properties- DHTML Lab | 5
Fun with Mozilla Border Radii
Interactive Tool
Below, we have three nested <div> elements, two bordered, one not.
Follow the instructions to change the curvature of the corner elements..
10px black border
no border - red background
10px green border
1. Choose the border corner curve radius you want to modify.
CSS3 property: | ||
CSS3 JS property: | ||
Mozilla property: | ||
Mozilla JS property: |
2. Enter the curve radius value in CSS length units, percentage or "inherit" value:
|
Enter curve radius value:
3. Choose which bordered element to apply values to:
4. View the full syntax of the chosen option:
CSS3 Syntax: | |
CSS3 JS Syntax: | |
Mozilla CSS Syntax: | |
Mozilla JS Syntax: |
5. Repeat steps 1 to 4 or go to Step 6:
6. Reset ( clear ) border radius values:
On the next page, we wrap up.
Send a comment or suggestion to Peter Belesis
Created: September 27, 2004Revised: September 27, 2004
URL: https://webreference.com/dhtml/column70/5.html