Scrolling through elements
Often, when creating web pages, you may encounter a situation where the content of a block takes up ...
Wrapping Elements
As a rule, all blocks and elements on a web page in the browser appear in the order in which they ar...
Outlines of elements
The concept of outlines is similar to using borders on elements. Do not confuse or replace borders w...
Creating a shadow on an element
The box-shadow property allows you to create a shadow on an element. This property can take several ...
Element Background
The background of an element is described in CSS by the background property . In fact, this property...
Element dimensions
The dimensions of the elements are set using the properties width (width) and height (height). The d...
Borders
A border separates an element from its outer content. In this case, the border is part of the elemen...
Indents or Padding
The padding property sets the padding from the border of an element to its inner content. Like the m...
Margins
The margin property determines the margin of an element from other elements or the border of the out...
block model
To a web browser, page elements represent small containers or blocks. Such blocks can have different...