From 2f1c2d2c1d5eda3cc93e5284be88c697db125b09 Mon Sep 17 00:00:00 2001 From: Mayada <115709272+Maddily@users.noreply.github.com> Date: Wed, 20 Nov 2024 07:49:53 +0200 Subject: [PATCH] Clarify that max/min-width include the specified value --- advanced_html_css/responsive_design/media_queries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced_html_css/responsive_design/media_queries.md b/advanced_html_css/responsive_design/media_queries.md index 07aad679378..faa37f4a435 100644 --- a/advanced_html_css/responsive_design/media_queries.md +++ b/advanced_html_css/responsive_design/media_queries.md @@ -48,7 +48,7 @@ You can also put any number of style definitions inside a media query: #### Other queries -In all of the above examples, our queries specify a `max-width` which will apply styles to any screen resolution *below* the given style. Said another way: a `max-width` query will apply on any screen up to the defined `max-width`. It is also possible to define a `min-width`, which applies to screens that are *larger* than the given value. `max-height` and `min-height` are also valid. +In all of the above examples, our queries specify a `max-width` which will apply styles to any screen resolution *below* or equal to the specified value. Said another way: a `max-width` query will apply on any screen up to the defined `max-width`. It is also possible to define a `min-width`, which applies to any screen resolution *above* or equal to the given value. `max-height` and `min-height` are also valid. #### Limit media queries