TOP CATEGORIES

×

What is CSS border?

G

Gungun KM

CSS Border

CSS Border properties used to design border around an element link <p>, <div>, <span>, etc. Basically, We can set the border size like (1px, 2px, 3px, 4px, 5px,.....), border look like (solid, dotted, dubble, etc), and last one border color.


CSS Border Properties:

  • border
  • border-top
  • border-right
  • border-bottom
  • border-right

Syntax Of CSS Border:

p, div, span {

  border: 2px solid red;

}

0 votes

Your Answer

Email: advertise@gdatamart.com

Donate: To Support US

© 2024 GDATAMART.COM (All Rights Reserved)