Card : modification du style

This commit is contained in:
Ahurac 2024-01-30 18:02:02 +01:00
parent 8ba97c2bfb
commit 37029dd1a3

View file

@ -14,12 +14,20 @@ const { id, name } = Astro.props;
<style>
.card {
border: 1px solid black;
display: flex;
align-items: center;
padding: 10px;
width: 50%;
margin: 10px 0;
background-color: white;
color: black;
border-radius: 25px;
transition: 0.1s ease-out;
position: relative;
top: 0;
}
.card:hover {
top: -4px;
}
.text {