mirror of
https://github.com/CoreyGinnivan/system-uicons.git
synced 2024-05-04 14:43:12 +02:00
Added icon scaling on hover
This commit is contained in:
parent
a755292d88
commit
8ea0d8c81a
|
@ -106,11 +106,12 @@
|
|||
<template x-for="item in filteredIcons" :key="item">
|
||||
<a
|
||||
href="#"
|
||||
class="flex flex-col items-center justify-center text-gray-700 rounded shadow hover:shadow-xl bg-white cursor-pointer transition duration-150 ease-in-out h-48"
|
||||
class="flex flex-col items-center group justify-center text-gray-700 rounded shadow hover:shadow-xl bg-white cursor-pointer transition duration-150 ease-in-out h-48"
|
||||
>
|
||||
<img
|
||||
:src="`images/` + item.icon_path + `.svg`"
|
||||
:alt="item.icon_name"
|
||||
class="transform transition duration-200 group-hover:scale-150"
|
||||
/>
|
||||
<p
|
||||
class="text-xs leading-none text-center mt-8"
|
||||
|
|
|
@ -8,7 +8,7 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
variants: {
|
||||
// Some useful comment
|
||||
scale: ["responsive", "hover", "focus", "group-hover"],
|
||||
},
|
||||
plugins: [
|
||||
// Some useful comment
|
||||
|
|
Loading…
Reference in a new issue