2012-01-10 01:12:34 +00:00
|
|
|
<style>
|
|
|
|
img { margin-top: 10px;}
|
|
|
|
.control { width: 50%; }
|
2013-01-21 07:05:16 +00:00
|
|
|
.pixels { width: calc(100px); }
|
|
|
|
.percent { width: calc(50%); }
|
|
|
|
.both { width: calc(25% + 50px); }
|
2012-01-10 01:12:34 +00:00
|
|
|
</style>
|
|
|
|
|
|
|
|
The images below must appear identical.
|
|
|
|
<div style="width:200px;">
|
|
|
|
<img class="control" src="./resources/colorsquare.png">
|
|
|
|
<img class="pixels" src="./resources/colorsquare.png">
|
|
|
|
<img class="percent" src="./resources/colorsquare.png">
|
|
|
|
<img class="both" src="./resources/colorsquare.png">
|
|
|
|
</div>
|