Add a border around an element. .element { border: 1px solid black; }Border styles. Outline Elements can also have an outline property, which is visible outside of the border, and doesn't take up space. Level Beginner Topics #CSS Resources MDN Borderhttps://developer.mozilla.org/en-US/docs/Web/CSS/border MDN Outlinehttps://developer.mozilla.org/en-US/docs/Web/CSS/outline Course: Beginner CSS CSS Overview Styling Text Styling Links Styling Forms CSS Spacing CSS Position Overflowing items CSS Variables Borders Browser Default Styles Cascading Styles Pseduo Classes And Elements Flexbox CSS Grid