Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
Media Queries
Media Queries are a way to target browsers by certain characteristics, features, and user preferences, then apply styles, or run other code based on those things. They are a key part of responsive web design, as they allow you to create different layouts depending on the size of the viewport, but they can also be used to detect other things about the environment your site is running on, for example whether the user is using a touchscreen rather than a mouse. Media queries are used for the following:
- conditionally apply styles with the CSS
@media
and@import
at-rules - target specific media for the
<style>
,<link>
,<source>
, and other HTML elements with themedia=
attribute - test and monitor media states using the
Window.matchMedia()
andEventTarget.addEventListener()
methods
A media query is composed of an optional media type and any number of media feature expressions, which may optionally be combined in various ways using logical operators.
- Media types define the broad category of device for which the media query applies. The type is optional except when using the not or only logical operators.
- all: Suitable for all devices.
- print: Intended for paged material and documents viewed on a screen in print preview mode.
- screen: Intended primarily for screens.
- Media features describe a specific characteristic of the user agent, output device, or environment. Media Queries Level 4 groups 18 media features into 5 categories.
- Viewport/Page Characteristics
- Display Quality
- Color
- Interaction
- Video-prefixed: The spec references user agents, including TVs, that render video and graphics in two separate planes that each have their own characteristics. (upcoming Media Queries Level 5)
- Logical operators can be used to compose a complex media query: not, and, and only. You can also combine multiple media queries into a single rule by separating them with commas.
- GitHub: https://github.com/topics/media-queries
- Wikipedia: https://en.wikipedia.org/wiki/Media_queries
- Created by: Håkon Wium Lie, W3C
- Released: June 19, 2012
- Related Topics: responsive-design, container-queries, client-hints, css-breakpoints, css-viewport,
- Aliases: media-query,
- Last updated: 2025-02-01 00:18:17 UTC
- JSON Representation
https://github.com/hardikaz/dicegame
This is a game of dice. Responsive and functioning.
css html javascript media-queries
Last synced: 11 Jan 2025
https://github.com/boakaidorborkamara/responsive-registration-form-
Understanding Responsiveness and Media Queries
Last synced: 24 Jan 2025
https://github.com/rudradcruze/influencer-gear
This project is about simple photography equipments and blogs.
css3 grid html5 media-queries responsive
Last synced: 13 Dec 2024
https://github.com/gunjankadu/edge-ledger
A Fictional Website Markup Using HTML5,CSS3,Flex and Media Queries
css3 flexbox html5 javascript media-queries
Last synced: 05 Jan 2025
https://github.com/sumaiyabanu15/css-project
This page Is about Travel Landing Page - Using HTML & CSS
Last synced: 09 Jan 2025
https://github.com/arpit-shrivastva/useability-hub-webpage
Experience the sleek and responsive design of our Usability Hub webpage, meticulously crafted with HTML, CSS, and media queries. Navigate seamlessly across devices as our website adapts effortlessly to different screen sizes, ensuring a user-friendly experience on desktops, tablets, and smartphones.
css html media-queries responsive
Last synced: 14 Jan 2025
https://github.com/sahithyabeesu03/food_recipe
App allows users to search for recipes and view detailed information using the MealDB API.The app features a responsive design and JavaScript for dynamic content loading and user interactions
api html5 javascript mealdb-api media-queries
Last synced: 11 Jan 2025
https://github.com/fatihycan/product-card
css3 font-awesome google-fonts html5 media-queries responsive-web-design
Last synced: 16 Jan 2025
https://github.com/siphamandlabili/tindr-clone
css html javascript media-queries
Last synced: 30 Dec 2024
https://github.com/mehmet-github06/password-genarator
This is a simple web application that allows users to generate secure passwords with various options for customization.
html-css-javascript media-queries notyfication responsive-design
Last synced: 16 Jan 2025
https://github.com/mehmet-github06/guess01
This is a simple web application. The game involves the user trying to guess a randomly selected number within a specific range (between 0 and 100).
flex html-css-javascript media-queries responsive sound
Last synced: 16 Jan 2025
https://github.com/mehmet-github06/travel-app
This project is a simple web interface designed for a travel site using HTML, CSS - SASS and JS.
flexbox html-css-javascript media-queries responsive sad
Last synced: 16 Jan 2025
https://github.com/mehmet-github06/informative-web-page
This is a simple informative web page template showcasing various sections such as navigation, posts, and developer's features.
css3 flex html5 media-queries responsive
Last synced: 16 Jan 2025
https://github.com/mehmet-github06/transistor-website
TRANSİSTOR is a website that showcases various courses and information sessions.
animation css3 flex html5 media-queries
Last synced: 16 Jan 2025