Skip to content
.blog-articles {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
justify-items: center; /* Centra gli articoli */
}
.article-preview {
border: 1px solid #ddd;
padding: 15px;
background-color: #f9f9f9;
border-radius: 8px;
text-align: center; /* Centra il testo */
max-width: 300px; /* Limita la larghezza massima */
}
.article-preview img {
width: 100%;
height: auto;
max-height: 200px;
object-fit: cover;
border-radius: 5px;
margin-bottom: 10px;
}
.article-preview h2 {
font-size: 18px;
margin-top: 10px;
}
.article-preview p {
color: #555;
font-size: 14px;
}
- Choosing a selection results in a full page refresh.
- Opens in a new window.