X 归档 2025-02-28
using CSS grid you can avoid width change in the parent container whilst making it responsive 🤙
the trick: update and transition the grid-template-columns for the list on :focus/:hover ✨ https://t.co/2X6prURouW
the trick: update and transition the grid-template-columns for the list on :focus/:hover ✨ https://t.co/2X6prURouW
用 CSS grid 可以在做出响应式效果的同时,避免父容器宽度发生变化 🤙
技巧:在 :focus/:hover 时更新并过渡列表的 grid-template-columns ✨ https://t.co/2X6prURouW
技巧:在 :focus/:hover 时更新并过渡列表的 grid-template-columns ✨ https://t.co/2X6prURouW
