Auto-Growing Textareas Without JavaScript Using CSS field-sizing

CSS auto-growing textarea using field-sizing content instead of JavaScript scrollHeight resizing

For years, an auto-growing textarea has been one of those tiny frontend features that required surprisingly annoying JavaScript. The implementation was never particularly difficult. Listen for the input event, reset the height, read scrollHeight, apply the new height, and repeat the process every time the user types. Something like this: I have used variations of […]

Share this post:

CSS Relative Color Syntax: Build Dynamic Themes Like a Pro

CSS Relative Color Syntax generating dynamic theme colors from one brand token

For years, one small part of frontend development has bothered me more than it probably should. A designer gives you a primary brand color. Then you need a hover color, an active color, a light background variation, a border color, a focus ring, and maybe another variation for dark mode. Most of us have handled […]

Share this post:

AI Impact on Indian IT: How Software Engineers Can Pivot and Stay Relevant

Indian software engineers adapting to AI, automation, and system architecture skills

Artificial intelligence is changing Indian IT faster than most technology shifts I have seen during my career. But I do not think the right question is, “Will AI replace software engineers?” The more useful question is, “What kind of software engineer will companies still need when AI can write a large part of the code?” […]

Share this post: