Border
noun
say it: “BOR-der” /ˈbɔrdər/
The line drawn around an element, between its padding and its margin, set with a width, a style such as solid or dashed, and a color.
What does the border property do?
border draws a line around an element: its width, style and color.
.input { border: 1px solid #ccc; }
In a sentence
- “I gave each trading card a 3px solid gold border so it looked like a real card.”
Level: Novice · More CSS terms at this level
Updated