CodeToFun
Learn Programming Free
Tutorials
Languages
Features
News
About
Sign In
Tutorials
Languages
Features
News
About
Sign In
Back
/
CSS outline Property
CSS outline Property — Outline vs Border
Try It
Run
Reset
Save
Save to Google Drive
Sync with your Google account
Download HTML
Save to your device
Share
Full
HTML Code
Theme
Copy
outline vs border
Both rings are 6px thick. Only the
border
increases the box’s outer size.
Border grows the box
Outline does not
Lines:
0
| Characters:
0
Live Preview
Auto-refresh on Run