{"id":25969090,"url":"https://github.com/diraneyya/responsivecss-class","last_synced_at":"2026-05-09T13:37:32.043Z","repository":{"id":65458450,"uuid":"592738971","full_name":"diraneyya/responsivecss-class","owner":"diraneyya","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-24T12:58:57.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-10T17:55:44.720Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://diraneyya.github.io/responsivecss-class/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diraneyya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-24T12:34:46.000Z","updated_at":"2023-01-24T12:59:11.000Z","dependencies_parsed_at":"2023-02-13T21:31:22.422Z","dependency_job_id":null,"html_url":"https://github.com/diraneyya/responsivecss-class","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Fresponsivecss-class","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Fresponsivecss-class/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Fresponsivecss-class/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Fresponsivecss-class/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diraneyya","download_url":"https://codeload.github.com/diraneyya/responsivecss-class/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935278,"owners_count":20044826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-04T22:39:00.868Z","updated_at":"2026-05-09T13:37:27.015Z","avatar_url":"https://github.com/diraneyya.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Responsive CSS Class\n\nIn this class we explored:\n- The `@media` so-called **at-rule** in modern CSS\n- The different, so-called **media types** (e.g. _screen_, _page_, etc.)\n- The different, so-called **media features** (e.g. _min-width_, _max-width_, _prefers-color-scheme_, _pointer_, etc.)\n\nThe syntax for a media query:\n```Mustache\n[[{{not|only}}] {{mediatype}}] [{{and|or}}] [({{mediafeature}}: {{mediafeaturevalue}}) ]...\n```\n\nFrom the syntax above, we can say that a media query:\n- Can optionally start with either `only` or `not`, followed by a **media type** (e.g. _screen_, _page_, etc.)\n- If we start with the above, then we need the keyword `and` to combine the media type with one or more **media feature rules**\n- A media feature rule is enclosed in parantheses `(...)` and in between we have one of the possible **media features** followed by a colon and the desired **media feature value**.\n- In case of more than one **media feature rules** they have to be combined with either `and` or `or` to decide the logical relationship between these rules (e.g. do you want them all to apply, or only some of them)\n\nMedia queries can be nested, such as most other at-rules in CSS. Example:\n```CSS\n@media only screen {\n    @media (prefers-color-scheme: dark) {\n        /* CSS declarations here apply only to dark mode on the screen */\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiraneyya%2Fresponsivecss-class","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiraneyya%2Fresponsivecss-class","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiraneyya%2Fresponsivecss-class/lists"}