Interactive online courses HTML Academy
2026-03-09 10:54 Diff

Another property related to the background image of the frame is border-image-outset. Similar to outline-offset, this property allows you to move the frame outside the element, while at the same time scaling the image slightly. Negative values for border-image-outset not supported.

Different image frame margins can also be set for each border. The syntax is regular:

border-image-outset: 10px; border-image-outset: 10px 20px 30px 40px;

Let’s move the frame away from the portrait a little.