Responsive design is an approach to web design that uses CSS and HTML to automatically enlarge, shrink, or resize a website to look good on different devices. This approach sees that the website responds to the user based on their device type, orientation, and screen size. Websites created with this approach are designed to have an optimal display at different sizes, irrespective of the screen resolution or device that the user uses.
In today’s world, people frequently switch between a different array of devices. So, the responsive website design gives webmasters the ability to create websites flexible enough to adjust to something that fits each person. This is achieved through CSS media queries, adaptive images, and flexible grid layouts.
The media query analyzes the device that the user is using to access the site to help figure out how to display media for that device on the website. At the same time, the flexible grid layout uses relative units (percentage) instead of fixed units (such as pixels).