HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
With CSS3, you can create rounded corners, add a shadow box, and as the image of the border without using design programs such as Photoshop.
In this chapter, you will learn the following border properties:
Add fillets tricky in CSS2. We had to use a different image every corner.
In CSS3, it is very easy to create rounded corners.
In the CSS3 border-radius property is used to create rounded corners:
Add fillets in a div element:
The CSS3 box-shadow property is used to add a shadow:
Add box-shadow property in the div
With the CSS3 border-image property, you can use an image to create a border:
Use pictures to create div border:
Use pictures to create a border div
Attributes | Explanation | CSS |
---|---|---|
border-image | Setting the border shorthand properties of all images. | 3 |
border-radius | One for setting all four border - * - radius shorthand property | 3 |
box-shadow | Attach one or more drop-down box shadows | 3 |