程式碼:
<div style="width:50px;height:50px;border:0.1px solid #333"></div>
<div style="width:50px;height:50px;border:0.2px solid #333"></div>
<div style="width:50px;height:50px;border:0.3px solid #333"></div>
<div style="width:50px;height:50px;border:0.4px solid #333"></div>
<div style="width:50px;height:50px;border:0.5px solid #333"></div>
<div style="width:50px;height:50px;border:0.6px solid #333"></div>
<div style="width:50px;height:50px;border:0.7px solid #333"></div>
<div style="width:50px;height:50px;border:0.8px solid #333"></div>
<div style="width:50px;height:50px;border:0.9px solid #333"></div>
<div style="width:50px;height:50px;border:1px solid #333"></div>
複製程式碼
效果+結論:
- 0.1=0.2
- 0.3=0.4=0.5=0.6=0.7
- 0.8=0.9=1