CSS Container Queries - The future of responsive web design is almost hereWith the huge number of smartphone users and increasing power of these devices, ensuring that your web applications run fine on all screen sizes is more important than ever. Fortunately CSS provides a couple of ways to style the same HTML in differen...1RUMay 25, 2021 路 6 min readblog.rajatkapoor.me
Create your dev portfolio - Part 1: First things firstIn this post we will set up the foundations for our portfolio: Create a Next JS app Set up Chakra UI with a theme Set up automatic deploys on Vercel using Github So let's get started. Intro I have been developing web applications since my college d...May 17, 2021 路 5 min readblog.rajatkapoor.me
4 ways to perfectly center content using CSSCentering content in CSS is something that beginners struggle a lot with. CSS provides a lot of options that allow you to center content inside a container. We'll try some of the most commonly used ones. Centering text Let's start by learning how to ...May 14, 2021 路 2 min readblog.rajatkapoor.me
Writing my first custom react hook - useOutsideClickWhen react hooks were launched, they completely changed the react ecosystem. I have been using react hooks for quite some time now and I am a big fan. But like a lot of other developers, I have never written a custom react hook. This is mainly becaus...5CRCMay 10, 2021 路 5 min readblog.rajatkapoor.me