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

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


CSS Свойства





offset-rotate



Example

Set rotation of three <img> elements moving along a path:

#fish1 {
  offset-rotate: auto;
}

#fish2 {
  offset-rotate: auto 90deg;
}

#fish3 {
  offset-rotate: 90deg;
}
Try it Yourself »

Definition offset-rotate

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

The offset-rotate property sets the rotation of an animated element moving along a path.

Default value: auto
Inherited: no
Animatable: yes. Read about animatable Try it
Version: CSS3
JavaScript syntax: object.style.offsetRotate="45deg" Try it

Browser Support offset-rotate

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

Property
offset-rotate 56.0 79.0 72.0 Not supported 43.0


CSS Syntax offset-rotate

offset-rotate: auto|value|initial|inherit;

Property Values offset-rotate

Value Description
auto The element is facing the direction it moving along a path. This is default.
<angle> Specifies how much to rotate an element with an constant angle.
auto <angle> With both auto and <angle> given, the angle is added to the default rotation, in the clockwise direction.
reverse The element is rotated in the opposite direction of the default rotation.
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit

More Examples offset-rotate

Example

Specify the rotation of an element with the 'turn' unit instead of 'deg':

div {
  offset-rotate: 0.25turn;
}
Try it Yourself »

Related Pages offset-rotate

HTML SVG tutorial: SVG Path

CSS tutorial: CSS Animations

CSS offset property: CSS Offset property

CSS offset-anchor property: CSS Offset-anchor property

CSS offset-distance property: CSS Offset-distance property

CSS offset-path property: CSS Offset-path property



×

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

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

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

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

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

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