Код: Выделить всё
/* stylelint-disable-next-line selector-pseudo-element-no-unknown */
::view-transition-old(root) {
animation: 90ms cubic-bezier(0.4, 0, 1, 1) both fade-out, 300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-to-left;
}
/* stylelint-disable-next-line selector-pseudo-element-no-unknown */
::view-transition-new(root) {
animation: 210ms cubic-bezier(0, 0, 0.2, 1) 90ms both fade-in, 300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-right;
}
Код: Выделить всё
2 rules skipped due to selector errors:
::view-transition-old(root) -> Pseudo-elements are not supported by css-select
::view-transition-new(root) -> Pseudo-elements are not supported by css-select
включил viewTransitions для маршрутизатора с помощью ProvideRouter(routes, withViewTransitions())
Я использую простой CSS.
Думаю, css-select — это нечто внутреннее в системе сборки Angular, но есть ли способ решить эту проблему?
Подробнее здесь: https://stackoverflow.com/questions/792 ... o-elements
Мобильная версия