-
[Tailwind Css] hover와 focus를 한 번에FrontEnd/Tailwind css 2023. 7. 5. 20:42
//tailwind.config.js const plugin = require('tailwindcss/plugin') module.exports = { plugins: [ plugin(function({ addVariant }) { addVariant('hocus', ['&:hover', '&:focus']) }) ], }
'FrontEnd > Tailwind css' 카테고리의 다른 글
[Tailwind css] gap , space (feat. Flex) (0) 2024.09.04 Tailwind CSS 설치 및 적용법 (0) 2022.11.30 CLS 함수를 이용해서 속성값 주기 (0) 2022.11.25