Меню
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON PHP КАК СДЕЛАТЬ
     ❯   

CSS Справочники


CSS Свойства





paint-order



Example

Change paint order for an SVG <circle> element:

circle {
  paint-order: stroke fill;
}
Try it Yourself »

Definition paint-order

Подработка: Перевод страницы

The paint-order property specifies the order of how an SVG element or text is painted.

Note: Only the order of stroke and fill can be changed for text elements, because markers are not applicable.

Show demo ❯

Default value: normal
Inherited: yes
Animatable: no. Read about animatable
Version: CSS3
JavaScript syntax: object.style.paintOrder="stroke fill" Try it

Browser Support paint-order

The numbers in the table specify the first browser version that fully supports the property.

Property
paint-order 35.0 17.0 60.0 8.0 22.0


CSS Syntax paint-order

paint-order: normal|one value|two values|three values|initial|inherit;

Property Values paint-order

Value Description Demo
normal Default value. The paint order is fill, stroke, markers. Demo ❯
one value Painting will start with given value, then continue with the remaining painting in default order. If only "stroke" is given, the next painting activity is fill, then markers. Demo ❯
two values Painting will start with given values, then continue with the remaining painting in default order. If "stroke markers" are given, the next painting activity will be fill. Demo ❯
three values Painting will be done according to given values. Demo ❯
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit

More Examples paint-order

Example

Change the paint order on an SVG <text> element with rainbow gradient fill:

text {
  paint-order: stroke fill;
}
Try it Yourself »

Related Pages paint-order

SVG Tutorial: SVG Tutorial

HTML SVG Graphics: HTML SVG Graphics



×

Связаться с отделом продаж

Если вы хотите использовать услуги schoolsw3 как образовательное учреждение, команда или предприятие, отправьте нам электронное письмо:
sales@schoolsw3.com

Сообщить об ошибке

Если вы хотите сообщить об ошибке или внести предложение, отправьте нам электронное письмо:
help@schoolsw3.com

Schoolsw3 оптимизирован для обучения и подготовки. Примеры могут быть упрощены для улучшения чтения и обучения. Учебники, ссылки и примеры постоянно проверяются, чтобы избежать ошибок, но мы не можем гарантировать полную правильность всего контента.
При использовании Schoolsw3 вы соглашаетесь прочитать и принять наши условия использования,
политику использования файлов cookie и конфиденциальности.

Авторское право 1999- © Copyright. Все права защищены. Schoolsw3 работает на SW3.CSS.