{"id":18483685,"url":"https://github.com/ashetm/sass-mixins-responsive","last_synced_at":"2026-05-08T04:14:24.171Z","repository":{"id":65608329,"uuid":"595590249","full_name":"AsheTM/sass-mixins-responsive","owner":"AsheTM","description":"Sass mixins utilities for media/responsive.","archived":false,"fork":false,"pushed_at":"2023-02-05T18:00:28.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-17T13:35:06.143Z","etag":null,"topics":["css","media","responsive","sass","scss"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AsheTM.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-31T12:00:16.000Z","updated_at":"2023-05-14T10:22:51.000Z","dependencies_parsed_at":"2023-02-19T01:16:03.832Z","dependency_job_id":null,"html_url":"https://github.com/AsheTM/sass-mixins-responsive","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/AsheTM/sass-mixins-responsive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsass-mixins-responsive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsass-mixins-responsive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsass-mixins-responsive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsass-mixins-responsive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsheTM","download_url":"https://codeload.github.com/AsheTM/sass-mixins-responsive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsass-mixins-responsive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266618862,"owners_count":23957273,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["css","media","responsive","sass","scss"],"created_at":"2024-11-06T12:36:56.175Z","updated_at":"2026-05-08T04:14:24.137Z","avatar_url":"https://github.com/AsheTM.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# @ashetm/sass-mixins-responsive\n\nSome responsive utilities Sass mixins for your needs. Take what you need!\n\n## Install\n\nYou can install it with npm:\n\n```bash\nnpm install @ashetm/sass-mixins-responsive\n```\n\n## Import\n\nYou only need to import ``@ashetm/sass-mixins-responsive``.\n\n```scss\n@import '@ashetm/sass-mixins-responsive';\n```\n\nor, if you want to override the breakpoint value(s)\n\n```scss\n@use '@ashetm/sass-mixins-responsive' as *;\n\n$breakpoint-mobile: 500px;\n$breakpoint-tablet: 800px;\n$breakpoint-laptop: 1000px;\n```\n\n## Usage\n\n### Variables\n\nThere is 3 variables that can be overriden: \n\n* ``$breakpoint-mobile`` with default value ``612px``\n* ``$breakpoint-tablet`` with default value ``912px``\n* ``$breakpoint-laptop`` with no default value\n\n### Mixins\n\n#### for-mobile\n\nExample: \n\n```scss\n.selector {\n  @include for-mobile {\n    width: 100%;\n  }\n}\n```\n\ngives in output: \n\n```css\n@media all and (min-width: \u003c$breakpoint-mobile: 612px\u003e) {\n  .selector {\n    width: 100%;\n  }\n}\n```\n\n#### for-tablet\n\nExample: \n\n```scss\n.selector {\n  @include for-tablet {\n    width: 100%;\n  }\n}\n```\n\ngives in output: \n\n```css\n@media all and (min-width: \u003c$breakpoint-mobile + 1: 613px\u003e) and (max-width: \u003c$breakpoint-tablet: 912px\u003e) {\n  .selector {\n    width: 100%;\n  }\n}\n```\n\n#### for-laptop\n\nExample: \n\n```scss\n.selector {\n  @include for-laptop {\n    width: 100%;\n  }\n}\n```\n\ngives in output: \n\n```css\n/* If ``$breakpoint-laptop`` is given */\n@media all and (min-width: \u003c$breakpoint-tablet + 1: 913px\u003e) and (max-width: \u003c$breakpoint-laptop: 912px\u003e) {\n  .selector {\n    width: 100%;\n  }\n}\n\n/* If ``$breakpoint-laptop`` is not given */\n@media all and (min-width: \u003c$breakpoint-tablet + 1: 913px\u003e) {\n  .selector {\n    width: 100%;\n  }\n}\n```\n\n#### for-huge-screen\n\n**NB:** If ``$breakpoint-laptop`` is given, this mixin will be available otherwise it will throw an error.\n\nExample: \n\n```scss\n.selector {\n  @include for-huge-screen {\n    width: 100%;\n  }\n}\n```\n\ngives in output: \n\n```css\n/* If ``$breakpoint-laptop`` is given */\n@media all and (min-width: \u003c$breakpoint-laptop + 1\u003e) {\n  .selector {\n    width: 100%;\n  }\n}\n```\n\n#### at-least\n\nExample: \n\n```scss\n.selector {\n  @include at-least(\u003c$value\u003e, \u003c$device: screen\u003e) {\n    width: 100%;\n  }\n}\n```\n\ngives in output: \n\n```css\n@media \u003c$device: screen\u003e and (min-width: \u003c$value\u003e) {\n  .selector {\n    width: 100%;\n  }\n}\n```\n\n\n#### between\n\nExample: \n\n```scss\n.selector {\n  @include between(\u003c$min\u003e, \u003c$max\u003e, \u003c$device: screen\u003e) {\n    width: 100%;\n  }\n}\n```\n\ngives in output: \n\n```css\n@media \u003c$device: screen\u003e and (min-width: \u003c$min\u003e) and (max-width: \u003c$max\u003e) {\n  .selector {\n    width: 100%;\n  }\n}\n```\n\n#### at-most\n\nExample: \n\n```scss\n.selector {\n  @include at-most(\u003c$value\u003e, \u003c$device: screen\u003e) {\n    width: 100%;\n  }\n}\n```\n\ngives in output: \n\n```css\n@media \u003c$device: screen\u003e and (max-width: \u003c$value\u003e) {\n  .selector {\n    width: 100%;\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashetm%2Fsass-mixins-responsive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashetm%2Fsass-mixins-responsive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashetm%2Fsass-mixins-responsive/lists"}