Skip to content

pfrankov/iphone-x-notch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iPhone X Notch

Available on any of your sites!

npm version

iphone-x-notch

Installation

npm install --save iphone-x-notch

Usage

CDN

<link rel="stylesheet" href="//cdn.rawgit.com/pfrankov/iphone-x-notch/v2.2.0/iphone-x-notch.css"/>

Bookmarklet

javascript:(link=>{link.rel='stylesheet';link.href='//cdn.rawgit.com/pfrankov/iphone-x-notch/v2.2.0/iphone-x-notch.css';document.body.appendChild(link)})(document.createElement('link'))

Import to your code

// ES2015+ / TypeScript
import "iphone-x-notch";

// CommonJS
require("iphone-x-notch");

Chrome extension

https://chrome.google.com/webstore/detail/feddebdpegbgedcfbgkncgdodplhmjpd

Android app

https://github.com/idoideas/XOutOf10