diff --git a/ui/experiments/crop-n-notes.html b/ui/experiments/crop-n-notes.html index d1a73c22..1aeece29 100755 --- a/ui/experiments/crop-n-notes.html +++ b/ui/experiments/crop-n-notes.html @@ -22,6 +22,8 @@ width: 5px; height: 5px; + /* XXX attr does not work here... */ + /*border: solid 2px attr(color);*/ border: solid 2px red; border-radius: 50%; } @@ -73,6 +75,21 @@ } +.bg-crop { + position: absolute; + width: 300px; + height: 300px; + top: 300px; + left: 100px; + + border: solid 5px blue; + + /* XXX fragments do not yet work... */ + /*background: image('image.jpg#xywh=10,30,60,20');*/ + background: url('image.jpg#xywh=10,30,60,20'); +} + + @@ -101,7 +118,10 @@ $(function(){
- + + + +