css - Move link image 5px up on hover -


How do I get an effect on CSS and HTML on the portfolio page of this site?

I thought that just something like this would work:

  one img {margin top: 5px; } An IMG: Hover {margin-top: 0 pixels; }   

but it was not working, even if I put it: hover over the link instead of img I opened my code and css but I do not understand this for my life Found. Please help :)

status: relative will work: An IMG: Hover (Position: Relative; Top: -5px;}

Note that the status: relative reserves the place in the document flow such as element not Move. But I think in this case, this is not an issue.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -