Change the outline of the text là gì

The outline-offset CSS property sets the amount of space between an outline and the edge or border of an element.

/* <length> values */ outline-offset: 3px; outline-offset: 0.2em; /* Global values */ outline-offset: inherit; outline-offset: initial; outline-offset: revert; outline-offset: revert-layer; outline-offset: unset;

<length>

The width of the space between the element and its outline. A negative value places the outline inside the element. A value of 0 places the outline so that there is no space between it and the element.

An outline is a line that is drawn around an element, outside the border edge. The space between an element and its outline is transparent. In other words, it is the same as the parent element's background.

Initial value`0`Applies toall elementsInheritednoComputed valueas specified, but with relative lengths converted into absolute lengthsAnimation typea

Here’s how to add a line, pattern, or custom border to a text box, picture, and other objects in Word, PowerPoint, or Excel for Mac.

Note: If you didn't add the border to the shape, text box, picture, or other object in Mac Office, you can't change or remove the border for the object.

Try the "Sketched" outline

If you're using Microsoft 365 for Mac (version 16.28 or later), you can give a casual, hand-drawn look to shapes with the Sketched outline.

  1. Select an existing shape in your document, or draw a new one.
  2. With the shape selected, on the Shape Format tab, select Shape Outline > Sketched, and then select a line width. (The smaller the point size ("pt"), the thinner the line is.)

Add or remove a border for a shape or text box

  1. Select the shape or text box to which you want to add, change, or remove a border.
  2. Click Shape Format, and then click the arrow next to Shape Outline.
  3. Do any of the following: To Do This Add or change the color of the border Either click the color that you want, or mix your own color by clicking More Outline Colors. Add or change the thickness of the border Point to Weight, and then choose the line weight that you want. Add or change the style of the border Point to Dashes, and then click the line style that you want. Remove the border from the shape or text box Click No Outline.

Add or remove a picture border

  1. Select the picture to which you want to add, change, or remove a border.
  2. Click Picture Format, and then click the arrow next to Picture Border.
  3. Do any of the following: To Do This Add or change the color of the border Either click the color you want, or mix your own color by clicking More Outline Colors. Add or change the thickness of the border Point to Weight, and then choose the line weight you want. Add or change the style of the border Point to Dashes, and then click the line style you want. Remove the border from the picture Click No Outline.

See also

Add a page border

Da li vam je potrebna dodatna pomoć?

Želite još opcija?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Chủ đề