All Projects → eduardoboucas → Include Media

eduardoboucas / Include Media

Licence: mit
📐 Simple, elegant and maintainable media queries in Sass

Programming Languages

SCSS
7915 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Include Media

Breakpoint Slicer
Slice media queries with ease
Stars: ✭ 332 (-85.94%)
Mutual labels:  scss, sass, breakpoint
Sscss
Light Sass lib for managing your font-size, margin, padding, and position values across breakpoints.
Stars: ✭ 119 (-94.96%)
Mutual labels:  scss, sass, breakpoint
Mq Scss
Extremely powerful Sass media query mixin. Allows you to create almost any media query you can imagine.
Stars: ✭ 122 (-94.83%)
Mutual labels:  scss, sass, breakpoint
React Native Sass Transformer
Use Sass to style your React Native apps.
Stars: ✭ 151 (-93.61%)
Mutual labels:  scss, sass
Grass
A near-feature-complete Sass compiler written purely in Rust
Stars: ✭ 143 (-93.95%)
Mutual labels:  scss, sass
Sass Spec
Official Sass Spec Suite
Stars: ✭ 151 (-93.61%)
Mutual labels:  scss, sass
Glup
Some of the gulp tutorial -《gulp笔记》
Stars: ✭ 136 (-94.24%)
Mutual labels:  scss, sass
React Timelines
React Timelines Library
Stars: ✭ 161 (-93.18%)
Mutual labels:  scss, sass
Flexible Grid
Flexible grid layouts to get you familiar with building within the flexible grid system.(HTML, CSS, SASS, SCSS)
Stars: ✭ 154 (-93.48%)
Mutual labels:  scss, sass
Css Vars
Sass mixin to use CSS Custom Properties with Sass
Stars: ✭ 164 (-93.06%)
Mutual labels:  scss, sass
Browser Hack Sass Mixins
Browser hack sass mixin - Apply your SCSS to a specific browser - CSS hacks for: IE, Chrome, Firefox, Edge, Opera
Stars: ✭ 170 (-92.8%)
Mutual labels:  scss, sass
Sass Extract
Extract structured variables from sass files
Stars: ✭ 183 (-92.25%)
Mutual labels:  scss, sass
Musubii
Simple CSS Framework for JP
Stars: ✭ 138 (-94.16%)
Mutual labels:  scss, sass
Skeleton Sass
Skeleton Sass is a highly modular version of Skeleton CSS
Stars: ✭ 151 (-93.61%)
Mutual labels:  scss, sass
Shards Ui
🎨Shards is a beautiful & modern Bootstrap 4 UI kit packed with extra templates and components.
Stars: ✭ 1,718 (-27.27%)
Mutual labels:  scss, sass
Kindling
A pocket-sized grid system built on the flex display property.
Stars: ✭ 155 (-93.44%)
Mutual labels:  scss, sass
Compile Hero
🔰Visual Studio Code Extension For Compiling Language
Stars: ✭ 169 (-92.85%)
Mutual labels:  scss, sass
Frontplate
フロントエンド開発の効率をあげるフルスタックテンプレート
Stars: ✭ 175 (-92.59%)
Mutual labels:  scss, sass
Sass Extras
Useful utilities for working with Sass
Stars: ✭ 179 (-92.42%)
Mutual labels:  scss, sass
Basis
A lightweight responsive Sass/CSS framework based on flexible box.
Stars: ✭ 133 (-94.37%)
Mutual labels:  scss, sass

'At' sign

include-media Build Status

Simple, elegant and maintainable media queries in Sass

NPM badge

What?

include-media is a Sass library for writing CSS media queries in an easy and maintainable way, using a natural and simplistic syntax.

Why?

I spent quite some time experimenting with different libraries and mixins available out there, but eventually all of them failed to do everything I needed in an elegant way. Some of them wouldn't let me mix set breakpoints with case-specific values, others wouldn't properly handle the CSS OR operator and most of them had a syntax that I found complicated and unnatural.

include-media was the result of that experience and it includes all the features I wish I had found before, whilst maintaining a simplistic and natural syntax.

How to install

  • With npm: npm install include-media
  • With yarn: yarn add include-media
  • With Bower: bower install include-media
  • With Rails: gem 'include_media_rails' (maintained by KaoruDev)
  • Manually: get this file

Finally, include the file in your project using an @import statement.

How to use

Examples can be found here.

Plugins

  • include-media-export - Reference include-media breakpoints in JavaScript.
  • include-media-columns - Generate column classes using the BEMIT naming convention, automatically referencing include-media breakpoints.
  • include-media-spread - Calculates the difference between property values and distributes them through your include-media breakpoints.
  • flex_e_ble - Uses your include-media breakpoints to create your own flexible class naming structure on top of a flex based grid with inline-block fallback for IE8+ compatibility.
  • include-media-grid - An include-media plugin for generating grid classes based on the flex display.
  • im-to-em - A tiny function to convert include-media breakpoints from px to em.
  • include-media-hidden-classes - An include-media plugin to generate classes for hiding elements.
  • Fluid-Size: Use include-media breakepoints to provide the fit size for the device.

Learn more

Related projects

  • include-media-or - A fork of include-media with support for complex queries with logical disjunctions (maintained by Nirazul).

The authors

include-media was created by Eduardo Bouças and Kitty Giraudel. The lead maintainer is Jack McNicol.

We want to hear from you

We'll be on the lookout for your issues and pull requests — but make sure you read this before submitting any code!

License

This project is licensed under the terms of the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].