233k views
1 vote
When you use media queries for responsive web design, : a) the styles for one media query are inherited by the media queries that follow b) the styles for each media query are independent c) the first media query sets the styles for the largest device d) the first media query sets the styles for the smallest device

1 Answer

1 vote

Answer:

a) the styles for one media query are inherited by the media queries that follow.

Step-by-step explanation:

In Computer programming, when you use media queries for responsive web design, the styles for one media query are inherited by the media queries that follow.

Media queries are simple filter design that can be applied to cascaded style sheets(css).

Depending on the size of the viewport, media queries makes it easy to tweak styles depending on parameters such as width, orientation, height, resolution and display type of the device rendering the data.

User Vivek Sethi
by
5.7k points