문제

So I have this picture: http://www.kyea.org/imageuploads/MC900382613.JPG It's of a hand with a pencil and I'd like to position it on my web page so that it looks like it's writing the content. Is there a way to do this? I've tried messing around with background-origin, background-size, background-position, and nothing seems to work.

도움이 되었습니까?

해결책

The following css est the image position .....

img {

position:relative;

float:right;

top:-15px;

left:-198px;

}

#text {

position:relative;

color:green;

text-align:left;

top:50px;

right:-90px;

}

for demo:JSFIDDLE DEMO

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top