tested image zooming...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2012-07-19 14:29:31 +04:00
parent 2e90687600
commit da9cd48454
2 changed files with 10 additions and 3 deletions

View File

@ -30,7 +30,7 @@ Priority work
| from the left of the axis and likewise for the right side.
|
[X] stage I: position the promoted/demoted image correctly
[_] 0% stage II: scroll ribbons correctly
[_] stage II: scroll ribbons correctly
| this is simple:
| - center the right edge of image returned
| by getImageBefore in all ribbons other than current...

View File

@ -181,6 +181,7 @@ function zoom(factor){
width: 50px;
height: 50px;
background: silver;
color: white;
float: left;
/* animate */
@ -191,8 +192,14 @@ function zoom(factor){
transition: all 0.5s ease;
}
.image {
background: no-repeat 50% black;
background-size: contain;
background-image: url(images/350px/DSC_3501.jpg);
}
.current.square {
background: gray;
background-color: gray;
}
@ -239,7 +246,7 @@ function zoom(factor){
<div class="square">2</div>
<div class="square">3</div>
<div class="square">4</div>
<div class="square">5</div>
<div class="square image">5</div>
<div class="square">6</div>
<div class="square">7</div>
</div>