CSS Border Shortcut Property

Just like for fonts, there is a shortcut property for borders border that we can use instead of writing 3 different properties for the width, color, and type of the border. In this property, we can simply list the values ​​for the border in any order.

Let's look at an example. Let's say we have a boundary like this:

css#elem {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  width: 300px;
  height: 100px;
}

Let's rewrite it using the reduction property:

css#elem {
  border: 1px solid red;
  width: 300px;
  height: 100px;
}
Задание 1

Repeat the page according to this example:

Задание 2

Repeat the page according to this example:

Задание 3

Repeat the page according to this example:

Задание 4

Repeat the page according to this example: