---
title: "Saranraj Sekar (@saranraj) | Hashnode"
description: "Raising the Bar. Read the latest articles by Saranraj Sekar on Hashnode."
url: "https://hashnode.com/@saranraj"
---

@saranraj

# Saranraj Sekar

@saranraj · Tamil Nadu, India · Joined August 2019

Raising the Bar

### [Dynamic Image height adjustment in CSS based on content](https://saranraj.hashnode.dev/dynamic-image-height-adjustment-in-css-based-on-content?utm_source=hashnode&utm_medium=feed)

Let say, we need an image and text content. The text has to overlay on the image. If the text content grows, the image height should also increase. The most common way of doing this is putting the image as a background-image in CSS. Similar to this ....

[saranraj.hashnode.dev](https://saranraj.hashnode.dev/dynamic-image-height-adjustment-in-css-based-on-content?utm_source=hashnode&utm_medium=feed)

[Sep 4, 2019](https://hashnode.com/posts/dynamic-image-height-adjustment-in-css-based-on-content/5d6f92c9c747e53257b12ca6)
