Skip to content
Snippets Groups Projects
Commit ff15a3fa authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

better css

parent c6328a4a
No related branches found
No related tags found
No related merge requests found
......@@ -75,12 +75,13 @@
display: flex;
}
.carte-recette-img{
width: 160px;
border-radius: 5px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.carte-recette-infos{
display: flex;
flex-direction: column;
padding: 15px;
flex: 1;
}
\ No newline at end of file
......@@ -61,8 +61,9 @@
<div class="row">
<div class="col-md-6">
<div class="carte-recette">
<div class="carte-recette-img" style="background-image: url('data/images/recettes/recette1.jpg');">
</div>
<a href="#">
<div class="carte-recette-img" style="background-image: url('data/images/recettes/recette1.jpg');"></div>
</a>
<div class="carte-recette-infos">
<h4>Recette 1</h4>
<span class="text-muted">Par <a href="#">Marmiuton</a></span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment