extremelycute.online/css/services.css

52 lines
828 B
CSS

body {
margin: 2rem;
/* height: 100vh; */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
padding: 2rem;
gap: 1rem;
}
.service {
border: 2px solid var(--special);
border-radius: 5px;
min-width: 100px;
max-width: 350px;
height: max-content;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
padding: 0.5rem;
overflow: hidden
}
.container {
margin-top: 1rem;
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
align-items: stretch;
margin-bottom: 2rem;
}
.service p {
flex-grow: 1;
}
img {
width: 100%;
height: auto;
display: block;
transform: scale(1);
transition: transform 0.5s ease;
}
img:hover {
transform: scale(1.5);
}