I need the post-footer to be visible only when hovering the .post div. How can I do that? The post-footer div only contains links(tags).
<div class="post">
<!-- other divs -->
<div class="post-footer"><!-- footer content here -->
</div>
</div>
With a structure like:
You need to use something like:
Alternatively, if you want to make it look smooth, you could use transitions on
max-height:Note: browser compatibility table for transitions
Demo for both methods: http://dabblet.com/gist/2819975