I still struggle with making websites responsive. I know beginners surf the web (or at least, that's what I did) in an attempt to learn how to make websites responsive, but what you'll find is fragmented explanations of smaller concepts.
In this post, I'm going to try my best to explain the 8 responsive web design best practices that have helped me master this element of web development, and might help you make your websites responsive in 2021.

1. Responsive vs Adaptive Design: Understand the difference

Responsive
Adaptive

2. Use relative units

Instead of using an absolute unit start using relative units.
Absolute units => Don't use {cm, mm, in, pc, px, pt}
Relative unit => Use {em, rem, lh, vw, vh}

3. Divide design into Breakpoints

Breakpoints are predefined areas of measurement that allow you to re-arrange your web layout dependent on the size of the browser or device.
Bootstrap responsive breakpoints

4. Understand Max and Min values

Understand when to use Max and Min values.

5. Use nested objects

Nested objects or container are the objects that are inside another object.
It allows controlling the nested element instead of constantly having to control each element.

<div class="parent>
   <span class="nested-element-1">Read</span>
   <p class="nested-element-1">RAHULISM></p>
   <p class="nested-element-1">Articles</p>
</div>

<!-- STYLE -->
<style>   
  .parent span {
    color: black;
  }
  .parent p {
    color: blue;
  }
</style>

6. Mobile or Desktop first

When Desktop First is Appropriate
When Mobile First is Appropriate

7. Understand Web VS System Fonts

SOME SAFE WEB FONTS THAT ARE RENDERED CORRECTLY
Georgia, Times New Roman/Times, Arial / Helvetica, Comic Sans, Lucida Sans Unicode, Tahoma / Geneva, Courier New.

8. Bitmap vs vector images

Bitmap images are stored as a series of tiny dots called pixels,
A vector image is an artwork made up of points, lines and curves that are based upon mathematical equations, rather than solid coloured square pixels.
What to use?
VECTOR IMAGE: More scalable than bitmap, Ability to increase the size of the graphic without pixelation and Better Quality.
๐Ÿ˜ŽThanks For Reading | Happy Coding ๐Ÿค“
Also published here.