问题标签 [angular-tree-component]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
26 浏览

html - 在 CSS 内容属性内旋转符号而不更改其位置

我想按其中心旋转符号而不移动我试图应用 display: inline-block and transform origin: center center not help, classes .toggle-children-wrapper-collapsed 和 .toggle-children-wrapper-expanded 单击更改,添加了 2 个视图,如下图所示

在此处输入图像描述

在此处输入图像描述