Search This Blog
Html tutorial, css tutorial, js tutorial, website creating tutorial, android app development tutorial, java tutorial, xml tutorial, programming tutorial
Featured
- Get link
- X
- Other Apps
Css Borders Tutorial with all their values and examples
CSS BORDERS
The CSS border properties allow you to specify the style, width, and color of an element's border.
p {
border-style:dashed;
}
preview
this is dashed border style
border-style have 10 values which we will see further as well as you can use mixed border-style for using border-style.
you have these all values to implement in border-style attribute.
- dotted
- dashed
- solid
- double
- groove
- ridge
- inset
- outset
- none
- hidden
p {
border-style:dashed;
}
Preview
This is dashed style
p {
border-style:dotted;
}
Preview
This is dotted style
p {
border-style:solid;
}
Preview
This is solid style
p {
border-style:double;
}
Preview
This is double style
p {
border-style:groove;
}
Preview
This is groove style
p {
border-style:ridge;
}
Preview
This is ridge style
p {
border-style:inset;
}
Preview
This is inset style
p {
border-style:outset;
}
Preview
This is outset style
p {
border-style:none;
}
Preview
This is none style
p {
border-style:hidden;
}
Preview
This is hidden style
Zoom and look at the style of border
In Shorthand we can create mixed borders like
p {
border-style:solid dotted dashed double;
}
Preview
This is mixed style
we will create some another examples in this website.
- Get link
- X
- Other Apps
Popular Posts
Java tutorial. How to start with java. Tutorial
- Get link
- X
- Other Apps
Comments