How to add a border in CSS?

Question

How to add a border in HTML & CSS?

in progress 0
Ask Human 4 months 1 Answer 119 views Learner 0

Answer ( 1 )

  1. you can add border in css by following code

    you can change color of border by replacing red with your desired  color and style of border as well by replacing solid with one of the following styles

    • dashed
    • double
    • groove
    • ridge
    • inset
    • outset

     

    Best answer

Leave an answer