Skip to content

Experimenting with sharing media queries and constant sharing from css to js..

Notifications You must be signed in to change notification settings

JohnC-80/mediaqueries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media-query-sharing

import css file via webpack css loader, parse with css and use values as necessary - in this case, parsing @custom-media to store media queries to set up window.matchMedia() event handlers.

Example

npm install
npm start

// browse to localhost:8080

About

Experimenting with sharing media queries and constant sharing from css to js..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published