Border Properties
Border Style
Dotted Border
p {
border-style: dotted;
}
Dashed Border
p {
border-style: dashed;
}
Solid Border
p {
border-style: solid;
}
Double Border
p {
border-style: double;
}
Border Color
Blue Border
p {
border-style: solid;
border-color: blue;
}
Orange Border
p {
border-style: solid;
border-color: #FFA500;
}
Purple Border
p {
border-style: solid;
border-color: rgb(128,0,128);
}
Border Width
1px Width Border
p {
border-style: solid;
border-width: 1px;
}
5px Width Border
p {
border-style: solid;
border-width: 5px;
}
10px Width Border
p {
border-style: solid;
border-width: 10px;
}
Border Radius
5px Radius Border
p {
border-style: solid;
border-radius: 5px;
}
10px Radius Border
p {
border-style: solid;
border-radius: 10px;
}
20px Radius Border
p {
border-style: solid;
border-radius: 20px;
}
Circles
circle
p {
width:100px;
height:100px;
border-radius: 50%;
}
oval
p {
width:200px;
height:100px;
border-radius: 50%;
}
img {
border-style: none;
border-radius: 50%;
}