Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
x位置の代わりにhsliderの水平位置を使用したい。フレックスのコンポーネントの水平方向の中心を取得する方法は? 私を助けてください。前もって感謝します
とてもシンプルです。コンポーネントの幅を取得し、それを 2 で割ります。コンポーネントの水平方向の中心を取得します。