Bonjour

j'ai divisé ma page en trois avec du grid mais je n'arrive pas à mettre une image en arrière plan pour la 2nde partie

voici mon code :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
  <head>
    <title> Le 9eme Cercle
    </title>
<link href="css/closty.css" rel="stylesheet" type="text/css" />
 </head>
  <body>
 
    <div class="clo">
 
    <div class="onex">Un</div>
 
    <div class="twox" id="bg9">Deux</div>
 
    <div class="threex">Trois</div>
 
  </div>
</body>
</html>

le closty.css
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
* {
  box-sizing: border-box;
}
.clo {
 width: 810px;
 }
.clo > div {
  border: 1px solid #666666;
  color: #d9480f;
 }
.clo {
  display: grid;
  grid-template-columns: 3 auto;
  grid-auto-rows: minmax(100px, auto);
}
.onex {
  width:195px;
  grid-column: 1 / 2;
  grid-row: 1;
}
.twox {
  width: 400px;
  grid-column: 2 / 3;
  grid-row: 1;
}
.threex {
  width:195px;
  grid-column: 3 / 3;
  grid-row: 1;
}
#bg9 {
  background-image: url("pics/9bg.png");
  background-color: transparent;
  background-repeat: no-repeat;
 }