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
Post a Comment