You can specify the background color of body in a global stylesheet, but it's not easy to update the background color dynamically for different pages in your website. So, I went on to code a hacky but working patch using CSS custom properties.
[...] 3 Sep, 2022
[...] 8 Aug, 2022
In this tutorial, I am going to show you how you can deploy a react app on netlify from an existing git repository of yours.
[...] 25 Jul, 2022
Anchors are nothing but id attributes applied to an element to link to it using href attribute internally on the same page.
[...] 10 Jul, 2022
Writing CSS from scratch along with adding vendor prefixes can be a daunting task if done manually. Vendor-prefixes can be easily added using the autoprefixer plugin of PostCSS.
[...] 30 Jun, 2022
Shortcodes are used to invoke a particular function which returns some html or any other data based on the information that is passed. They are mainly used to reuse html templates which require some preprocessing.
[...] 7 Jun, 2022
Here are the 5 most useful Visual Studio Code extensions to improve your workflow!
[...] 27 May, 2022
Vercel is a platform to host frontend applications and static sites but you can also host an express app using serverless functions.
[...] 22 May, 2022
[...] 4 Apr, 2022
SASS extends CSS which means that you can have all the features of CSS plus the features of SASS just like a cherry on top of a cake!
[...] 24 Mar, 2022
[...] 26 Feb, 2022
While you can generate QR codes for URLs in browsers such as Chrome, it's always interesting to learn how you can make your own version of a simple QR code generator. So, here we go.
[...] 23 Dec, 2021
Social media embeds take some time to load and render, hence the user experience is not so good! Here's an example of twitter embeds..
[...] 26 Sep, 2021
[...] 18 Jul, 2021
[...] 13 July, 2021
[...] 18 Jun, 2021
Notification badges annoy me most of the times by popping up every now and then and I am pretty sure most of you experience similar thing, but anyways, let's see how we can create a notification badge using CSS.
[...] 28 May, 2021