Replies

Dec 5, 2019 6 years ago
zwitter
has 40 pets and counting
User Avatar
Assbutt

This profile here has hovers in every direction but I can't figure how to get a hover that goes up. Thanks!

Experiment pet hoarder! 18/50 owned, have an unwanted experiment pet? check out
Grendaline
for what ones I need!

<3 <3

Dec 8, 2019 6 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

you just have to define its position from the bottom instead of the top and it will extend upwards! so instead of...

{ position: absolute; left: __px; top: __px} you'd just use:

{ position: absolute; left: __px; bottom: __px} you might have to use a negative pixel value to get it where you want it, but that's not an issue. you can also use right instead of left to get a div to expand to the left, but i see you've used a changing margin to achieve the same effect. as a matter of fact, i can't think of why that same method wouldn't work for a vertical change as well, but you probably already tried that.

Dec 8, 2019 6 years ago
zwitter
has 40 pets and counting
User Avatar
Assbutt

Ah ha! Thank you so much!

Experiment pet hoarder! 18/50 owned, have an unwanted experiment pet? check out
Grendaline
for what ones I need!

<3 <3

Please log in to reply to this topic.