Skip to content
Permalink
Browse files

add - phoneGrid

  • Loading branch information
rbalet committed Nov 18, 2019
1 parent bcfcda4 commit bd90672ba043697885affc10ba229aa896624c35
Showing with 46 additions and 1 deletion.
  1. +7 −0 .prettierrc
  2. +1 −0 mixin.scss
  3. +37 −0 mixins/phoneGrid.scss
  4. +1 −1 package.json
@@ -0,0 +1,7 @@
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all",
"semi": false,
"arrowParens": "always"
}
@@ -1,5 +1,6 @@
@import './mixins/animation';
@import './mixins/shadow';
@import './mixins/grid';
@import './mixins/phoneGrid';
@import './mixins/browser';
@import './mixins/color';
@@ -0,0 +1,37 @@
/** According to google screen size */

@mixin iPhone5 {
@media (max-height: 568px) {
@content;
}
}

@mixin iPhone6 {
@media (max-height: 667px) {
@content;
}
}

@mixin iPhone6Plus {
@media (max-height: 736px) {
@content;
}
}

@mixin iPhoneX {
@media (max-height: 812px) {
@content;
}
}

@mixin iPad {
@media (max-height: 1024px) {
@content;
}
}

@mixin iPadPro {
@media (max-height: 1366px) {
@content;
}
}
@@ -1,6 +1,6 @@
{
"name": "@ultrastark/us-mixin",
"version": "0.5.7",
"version": "0.6.0",
"description": "Contain scss mixin and divers utilities",
"main": "index.js",
"scripts": {

0 comments on commit bd90672

Please sign in to comment.
You can’t perform that action at this time.