---
title: "Discussion on \"Media Query in CSS\" | Hashnode"
description: "Discussion on \"Media Query in CSS\". Media query allows to apply styling based on general device type(like mobile, laptop, computers) or based on screen resolution or viewport width\ngeneral syntax\n@media [all,not,only] [mediatype] logicaloperator(and,not,or) [media feature expression]\n{..."
url: "https://hashnode.com/posts/media-query-in-css/63fcb0424bc6034a89fe504e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Media Query in CSS](https://goudhamt.hashnode.dev/media-query-in-css?utm_source=hashnode&utm_medium=feed)

Media query allows to apply styling based on general device type(like mobile, laptop, computers) or based on screen resolution or viewport width general syntax @media \[all,not,only\] \[mediatype\] logicaloperator(and,not,or) \[media feature expression\] {...

Feb 27, 2023 · 2 min read · goudhamt.hashnode.dev  
Read the article

-   [#iwritecode-hiteshchoudhary-anuragtiwari-html](https://hashnode.com/tag/iwritecode-hiteshchoudhary-anuragtiwari-html)

## Written by

[Goudham](https://hashnode.com/@goudhamt)

@goudhamt

  
[View profile](https://hashnode.com/@goudhamt)

I am a senior consultant

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
