Sign in Registration

How to make a border or border around an HTML element, CSS border property

Very often, when developing sites, it is necessary to place elements on a page that must have borders or frames. This problem can be solved using the special CSS properties - border . It allows you not only to set the border, but also to flexibly customize it.


The CSS border property is generic, which means it contains various other properties prefixed with border . Values ​​in the border property can be specified in any order separated by a space.

What are the CSS properties from the border family? The list is given below:

As you can see, the list of properties is quite large, but you can use this reference to know how to properly use these properties during development.

Comments (0)
For commenting sign in or register.

Latest articles

Popular sections


Login to the web version
Android app:
Available on Google Play

Share this

Subscribe to