Home / CSS Tips Generated By ChatGPT / Adding Borders in CSS Use the border property to add a border around an element. Source Code .bordered { border: 2px solid red; }