如何在圖像之間留出空間? (如果將一個圖像,它會顯示一些文字,我不知道這是否會做出一些型動物)
CS:
.row1{
float:left;
padding: 30px;
}
.row2{
float:left;
padding: 30px;
}
.row3{
float:left;
padding: 30px;
}
從上下。
ROW1:左側
行2圖片:圖片中間
ROW3:右側圖像
<div class="row1">
<h3>Track/spots</h3>
<div id="wrapper">
<img src="producten/banaan.jpg" alt="large luxe beach" width="300" height="200" class="hover" />
<p class="text">Banaan Spot <br> Prijs: vanaf €58,75 </p>
</div>
<div id="wrapper">
<img src="producten/track.jpg" width="300" height="200"class="hover" />
<p class="text">Track Rail, Track Light <br> Aansluiting: 3 fase rail <br> Prijs: vanaf €64,95 <br> Kleur: 3000K/4000K</p>
</div>
<div id="wrapper">
<img src="producten/led.jpg" width="300" height="200" class="hover" />
<p class="text">MR 16 spot <br> Aansluting: GU10/GU5.3<br> Voltage: 12V | 230V<br> Prijs: vanaf €5,95<br>Kleur: 2500K// 2700K/3000K/4000K </p>
</div>
</div>
<div class="row2">
<h3>Ledstrip</h3>
<div id="wrapper">
<img src="producten/lestrip.jpg" alt="large luxe beach" width="300" height="200" class="hover" />
<p class="text">Ledstrip, SMD 5050, SMD 2835, RGB <br>Voltage: 12V/24V<br> Prijs: vanaf €8,95 </p></div>
<div id="wrapper">
<img src="producten/kleur.jpg" width="300" height="200" class="hover" />
<p class="text"></p></div>
<div id="wrapper">
<img src="producten/profiel.jpg" width="300" height="200" class="hover" />
<p class="text"></p></div>
</div>
<div class="row3">
<h3>Panelen</h3>
<div id="wrapper">
<img src="producten/panel2.jpg" alt="large luxe beach" width="300" height="200" class="hover" />
<p class="text">Rond Paneel<br> Aansluting: N.V.T.<br>Wattage: 6W/15W/18/20W/24W<br>Prijs: vanaf €21,95</p></div>
<div id="wrapper">
<img src="producten/panel.jpg" width="300" height="200" class="hover" />
<p class="text">Vierkant Paneel<br> Aansluting: N.V.T.<br>Wattage: 36W/40W/42W<br>Voltage: 230V<br>Prijs: vanaf €34,95<br>Kleur: 3000K/4000K</p></div>
<div id="wrapper">
<img src="producten/rechthoek.jpg" width="300" height="200" class="hover" />
<p class="text"></p>
</div>
</div>
我利潤率嘗試過,但它沒有工作
爲什麼設置包裝的高度至少比圖像高20%? –