Can't understand... I always get the "invalid property value" error in browser on grid-template-areas.
If I try to get rid of it, the grid display works well.
The template I want to use seems quite simple though
#dv_reals {
width: 60%;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-rows: auto;
grid-template-columns: auto;
grid-template-areas: "photo resume" "not not" "photo resume" "not not";
}
.photoReal {
grid-area: photo;
background-color: red;
}
.cont {
grid-area: resume;
background-color: yellow;
}
.vide {
grid-area: not;
background-color: pink;
}
<div id="dv_reals">
<div class="photoReal">photo</div>
<div class="cont">contenu</div>
<div class="vide"></div>
<div class="vide"></div>
<div class="photoReal">photo</div>
<div class="cont">contenu</div>
<div class="vide"></div>
<div class="vide"></div>
</div>